summaryrefslogtreecommitdiff
path: root/server/src/commands/emma/Verify.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/commands/emma/Verify.ts')
-rw-r--r--server/src/commands/emma/Verify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands/emma/Verify.ts b/server/src/commands/emma/Verify.ts
index b09d93d..99124ec 100644
--- a/server/src/commands/emma/Verify.ts
+++ b/server/src/commands/emma/Verify.ts
@@ -52,7 +52,7 @@ export default class VerifyEmma extends Command {
if (response.includes(captcha.text)) {
msg.author.send('You passed the captcha! Granting access...').then(async m => {
const role = await msg.guild.roles.cache.find(r => r.name.toLowerCase() === verificationRole.toLowerCase());
- if (role) msg.member.roles.add(role.id);
+ if (role) msg.member.roles.remove(role.id);
m.edit(`Access granted to **${msg.guild.name}**!`);
});
} else {