From b383325a21bfdacfd97db7093507eb05ae18a5c9 Mon Sep 17 00:00:00 2001 From: Josee9988 Date: Mon, 21 Jun 2021 15:23:36 +0200 Subject: [PATCH] "add space between words" --- src/commands/commands-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {