From de8d1c5e1a982a2ac7f5bc1f587b7798fda82a90 Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 14 Oct 2017 21:53:57 +0200 Subject: [PATCH] make command a const --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 218acd7..b3fe953 100644 --- a/index.js +++ b/index.js @@ -87,7 +87,7 @@ matrixclient.on('Room.timeline', function(event, room, resettimeline) { project = project[1]; if(commands[project] !== undefined) { - let command = commands[project]; + const command = commands[project]; const args = body.match(command.regex); if(args === null) {