We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45d394e commit 857eb77Copy full SHA for 857eb77
src/bot.rs
@@ -52,15 +52,17 @@ impl WaffleBot {
52
.options(options)
53
.build();
54
55
- let mut client = serenity::Client::builder(self.token.clone(), GatewayIntents::empty())
56
- .framework(framework)
57
- .await?;
+ let mut client = serenity::Client::builder(
+ self.token.clone(),
+ GatewayIntents::GUILD_MESSAGES | GatewayIntents::MESSAGE_CONTENT,
58
+ )
59
+ .framework(framework)
60
+ .await?;
61
62
client.start().await
63
}
64
65
-#[allow(unused)]
66
pub async fn check_is_oracle(ctx: Context<'_>) -> Result<bool, Error> {
67
if let Ok(member) = ctx.guild_id().unwrap().member(ctx, ctx.author().id).await {
68
if let Some(guild_id) = ctx.guild_id() {
0 commit comments