diff --git a/src/SlashCommands.tsx b/src/SlashCommands.tsx index ea561d9f12..3fa6c0d7ee 100644 --- a/src/SlashCommands.tsx +++ b/src/SlashCommands.tsx @@ -993,7 +993,7 @@ export const Commands = [ command: "msg", description: _td("Sends a message to the given user"), args: " ", - runFn: function(roomId, args) { + runFn: function(_, args) { if (args) { const matches = args.match(/^(\S+?)(?: +(.*))?$/s); if (matches) {