Browse Source

Update bot.js

Changed "you can't ban yourself" for kick command to "you can't kick yourself", although why doesn't the person who wants to kick themselves just leave the server in the first place :/
master
Eric Yang 4 years ago
committed by GitHub
parent
commit
16357ff576
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      bot.js

2
bot.js

@ -577,7 +577,7 @@ async function kick(message) {
const member = members.array()[0]; const member = members.array()[0];
if (member === message.member) { if (member === message.member) {
message.reply("you can't ban yourself!"); message.reply("you can't kick yourself!");
return; return;
} }

Loading…
Cancel
Save