🐛💄 bugfix and avatar image
This commit is contained in:
parent
f6c36b76ff
commit
8c6e538421
BIN
avatar.png
Normal file
BIN
avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
3
index.js
3
index.js
@ -146,6 +146,7 @@ const Discord = require('discord.js');
|
||||
const client = new Discord.Client();
|
||||
client.on('ready', () => {
|
||||
console.log('Connected to Discord as ' + client.user.tag);
|
||||
client.user.setAvatar('avatar.png')
|
||||
});
|
||||
/* Discord message center */
|
||||
client.on('message', msg => {
|
||||
@ -201,7 +202,7 @@ client.on('message', msg => {
|
||||
else if(msg.content.startsWith('-')) {
|
||||
const content = msg.content.slice(1)
|
||||
if (content.toLowerCase() in reactions) {
|
||||
educpopAddPerson(channel, msg.author.username, content.toLowerCase())
|
||||
educpopDelPerson(channel, msg.author.username, content.toLowerCase())
|
||||
msg.delete()
|
||||
reply(channel)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user