formatting

This commit is contained in:
Alex Brow 2020-03-23 13:00:24 -04:00
parent 0111786fcc
commit 0f4bf40b83
No known key found for this signature in database
GPG Key ID: F48926893F475C25
1 changed files with 35 additions and 36 deletions

View File

@ -27,8 +27,8 @@ client.on("guildCreate", guild => {
client.on('guildMemberAdd', member => {
console.log(`New member joined: ${member.name} (id: ${member.id}).`);
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
});
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
client.on('guildMemberRemove', member => {
console.log(` member left: ${member.name} (id: ${member.id}).`);
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
@ -119,7 +119,6 @@ client.on("message", async message => {
await member.kick(reason)
.catch(error => message.reply(`Sorry ${message.author} I couldn't kick because of : ${error}`));
message.reply(`${member.user.tag} has been kicked by ${message.author.tag} because: ${reason}`);
}
if(command === "ban") {