@@ -6,6 +6,8 @@ import * as roomActions from '../../client/action/room';
6
6
import { useRoomNavigate } from './useRoomNavigate' ;
7
7
8
8
export const SHRUG = '¯\\_(ツ)_/¯' ;
9
+ export const TABLEFLIP = '(╯°□°)╯︵ ┻━┻' ;
10
+ export const UNFLIP = '┬─┬ノ( º_ºノ)' ;
9
11
10
12
export function parseUsersAndReason ( payload : string ) : {
11
13
users : string [ ] ;
@@ -48,6 +50,8 @@ export enum Command {
48
50
MyRoomAvatar = 'myroomavatar' ,
49
51
ConvertToDm = 'converttodm' ,
50
52
ConvertToRoom = 'converttoroom' ,
53
+ TableFlip = 'tableflip' ,
54
+ UnFlip = 'unflip' ,
51
55
}
52
56
53
57
export type CommandContent = {
@@ -78,6 +82,16 @@ export const useCommands = (mx: MatrixClient, room: Room): CommandRecord => {
78
82
description : 'Send ¯\\_(ツ)_/¯ as message' ,
79
83
exe : async ( ) => undefined ,
80
84
} ,
85
+ [ Command . TableFlip ] : {
86
+ name : Command . TableFlip ,
87
+ description : `Send ${ TABLEFLIP } as message` ,
88
+ exe : async ( ) => undefined ,
89
+ } ,
90
+ [ Command . UnFlip ] : {
91
+ name : Command . UnFlip ,
92
+ description : `Send ${ UNFLIP } as message` ,
93
+ exe : async ( ) => undefined ,
94
+ } ,
81
95
[ Command . StartDm ] : {
82
96
name : Command . StartDm ,
83
97
description : 'Start direct message with user. Example: /startdm userId1' ,
0 commit comments