Delete cdn directory

This commit is contained in:
Sophia Atkinson 2021-09-19 15:35:07 -07:00 committed by GitHub
parent 50d4b29396
commit 95aed70299
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Binary file not shown.

View File

@ -1,13 +0,0 @@
if (message.content.startsWith(`${prefix}kick`)) {
if (!message.guild.member(message.author).hasPermission('KICK_MEMBERS')) { return message.channel.send('You do not have permission to kick users!'); }
if (!message.guild.member(client.user).hasPermission('KICK_MEMBERS')) { return message.channel.send('I don\'t have the permission for kick users!'); }
if (message.mentions.users.size === 0) { return message.channel.send('You need to mention a user!'); }
let kickMember = message.guild.member(message.mentions.users.first());
if (!kickMember) { return message.channel.send('User not found!'); }
kickMember.kick().then((member) => {
message.channel.send(member.displayName + " has been successfully kicked from the server.");
})
}