mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 17:20:49 +00:00
Massive dependencies bump
This commit is contained in:
parent
dd1867e222
commit
8632f0e99c
24 changed files with 744 additions and 841 deletions
|
@ -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())
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue