diff --git a/src/commands/commands-controller.ts b/src/commands/commands-controller.ts index f95da98..4fc8061 100644 --- a/src/commands/commands-controller.ts +++ b/src/commands/commands-controller.ts @@ -108,7 +108,7 @@ export default class CommandsController { */ private async setSendMsg(message: Message, msgToBeSet: string[]): Promise { let msg = ""; - for (const word of msgToBeSet) msg += word; + for (const word of msgToBeSet) msg += word + ""; if (!checkIfUserIsAdmin(message)) return; const server = await this.databaseController.findByServerId(message.guild.id); if (server.channelId) {