Optimizing status_message.rs update
This commit is contained in:
parent
813de17f59
commit
6f83806e2b
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ pub async fn update_status_message(ctx: Context) {
|
|||
|
||||
let embeds = create_status_embed().await;
|
||||
for sm in x {
|
||||
if sm.guild_id == 0 {continue;}
|
||||
let msg = ChannelId::from(sm.channel_id as u64).message(&ctx.http, sm.message_id as u64).await;
|
||||
match msg {
|
||||
Ok(mut m) => {
|
||||
|
|
Loading…
Reference in a new issue