final fix for say command hopefully

This commit is contained in:
SileNce5k 2021-02-14 12:09:35 +01:00
parent 49984be6b6
commit dd1b4fd21a
No known key found for this signature in database
GPG key ID: C507260E7F2583AD
2 changed files with 2 additions and 2 deletions

View file

@ -2,6 +2,6 @@ module.exports = {
name: 'say',
description: 'Repeats arguments',
execute(message, args) {
message.channel.send(args)
message.channel.send(args.join(" "))
}
};

View file

@ -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);