Massive dependencies bump

This commit is contained in:
Natsu Kagami 2022-06-11 15:48:43 -04:00
parent dd1867e222
commit 8632f0e99c
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
24 changed files with 744 additions and 841 deletions

View file

@ -241,7 +241,7 @@ pub async fn register_announcer(ctx: &Context, m: &Message, mut args: Args) -> C
.await?;
return Ok(());
}
let guild = m.guild(&ctx).await.expect("Guild-only command");
let guild = m.guild(&ctx).expect("Guild-only command");
let channel = m.channel_id.to_channel(&ctx).await?;
AnnouncerChannels::open(&*data)
.borrow_mut()?
@ -284,7 +284,7 @@ pub async fn remove_announcer(ctx: &Context, m: &Message, mut args: Args) -> Com
.await?;
return Ok(());
}
let guild = m.guild(&ctx).await.expect("Guild-only command");
let guild = m.guild(&ctx).expect("Guild-only command");
AnnouncerChannels::open(&*data)
.borrow_mut()?
.entry(key.clone())

View file

@ -127,7 +127,7 @@ async fn paginate_with_first_message(
.await?;
}
// Build a reaction collector
let mut reaction_collector = message.await_reactions(&ctx).removed(true).await;
let mut reaction_collector = message.await_reactions(&ctx).removed(true).build();
let mut page = 0;
// Loop the handler function.