@ -61,11 +61,9 @@ matrixClient.on('Room.timeline', function(event, room, resetTimeline) {
}
project = project[1];
let command = commands[project];
const command = commands[project];
if(command !== undefined) {
const args = body.match(command.regex);
if(args === null) {
matrixClient.sendNotice(room.roomId, 'usage: ' + command.usage);