diff --git a/src/SlashCommands.js b/src/SlashCommands.js index 115cf0e018..d675500f07 100644 --- a/src/SlashCommands.js +++ b/src/SlashCommands.js @@ -70,6 +70,19 @@ function success(promise) { /* eslint-disable babel/no-invalid-this */ export const CommandMap = { + shrug: new Command({ + name: 'shrug', + args: '', + description: _td('Prepends ¯\\_(ツ)_/¯ to a plain-text message'), + runFn: function(roomId, args) { + var message = '¯\\_(ツ)_/¯' + if (args) { + message = message + ' ' + args + } + return success(MatrixClientPeg.get().sendTextMessage(roomId, message)); + } + }), + ddg: new Command({ name: 'ddg', args: '',