final fix for say command hopefully
This commit is contained in:
parent
49984be6b6
commit
dd1b4fd21a
2 changed files with 2 additions and 2 deletions
|
@ -2,6 +2,6 @@ module.exports = {
|
|||
name: 'say',
|
||||
description: 'Repeats arguments',
|
||||
execute(message, args) {
|
||||
message.channel.send(args)
|
||||
message.channel.send(args.join(" "))
|
||||
}
|
||||
};
|
|
@ -41,7 +41,7 @@ client.on('message', async message => {
|
|||
if (commandName == "ban" || commandName == "userinfo") {
|
||||
command.execute(message, client);
|
||||
} else if (commandName == "say") {
|
||||
command.execute(message, args.join(" "))
|
||||
command.execute(message, args)
|
||||
}
|
||||
else {
|
||||
command.execute(message);
|
||||
|
|
Loading…
Add table
Reference in a new issue