We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ca7226 commit b634d8dCopy full SHA for b634d8d
1 file changed
src/command/role.rs
@@ -20,7 +20,7 @@ pub async fn toggle_update_role(ctx: CommandContext<'_>) -> CommandResult {
20
21
let member = ctx.author_member().await;
22
23
- if member.is_none() || ctx.guild_id().map(|g| g.get()) == Some(*RETROREALM_SERVER_ID) {
+ if member.is_none() || ctx.guild_id().map(|g| g.get()) != Some(*RETROREALM_SERVER_ID) {
24
ctx.say("This command can only be run inside RetroRealm's Discord Server")
25
.await?;
26
return Ok(());
0 commit comments