formatting
This commit is contained in:
parent
0111786fcc
commit
0f4bf40b83
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue