Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add look of dissaproval command #5726

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/SlashCommands.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,19 @@ export const Commands = [
},
category: CommandCategories.messages,
}),
new Command({
command: 'disapproval',
args: '<message>',
description: _td('Prepends ಠ_ಠ to a plain-text message'),
runFn: function(roomId, args) {
let message = 'ಠ_ಠ';
if (args) {
message = message + ' ' + args;
}
return success(MatrixClientPeg.get().sendTextMessage(roomId, message));
},
category: CommandCategories.messages,
}),
new Command({
command: 'plain',
args: '<message>',
Expand Down