added emoji command
This commit is contained in:
parent
05b96f7eb6
commit
a6ce102e05
2 changed files with 1 additions and 4 deletions
|
@ -20,9 +20,6 @@ module.exports = {
|
||||||
|
|
||||||
for (const file of commandFiles) {
|
for (const file of commandFiles) {
|
||||||
const command = require(`./${file}`);
|
const command = require(`./${file}`);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
embed.addFields(
|
embed.addFields(
|
||||||
{ name: prefix+command.name, value: command.description },
|
{ name: prefix+command.name, value: command.description },
|
||||||
)
|
)
|
||||||
|
|
|
@ -40,7 +40,7 @@ client.on('message', async message => {
|
||||||
try {
|
try {
|
||||||
if (commandName == "ban" || commandName == "userinfo" || commandName == "botinfo") {
|
if (commandName == "ban" || commandName == "userinfo" || commandName == "botinfo") {
|
||||||
command.execute(message, client);
|
command.execute(message, client);
|
||||||
} else if (commandName == "say") {
|
} else if (commandName == "say" || commandName == "e") {
|
||||||
command.execute(message, args)
|
command.execute(message, args)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue