You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-11-04 11:51:45 +03:00 
			
		
		
		
	@@ -154,6 +154,19 @@ export const Commands = [
 | 
			
		||||
        },
 | 
			
		||||
        category: CommandCategories.messages,
 | 
			
		||||
    }),
 | 
			
		||||
    new Command({
 | 
			
		||||
        command: 'lenny',
 | 
			
		||||
        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>',
 | 
			
		||||
 
 | 
			
		||||
@@ -149,6 +149,7 @@
 | 
			
		||||
    "Command error": "Command error",
 | 
			
		||||
    "Usage": "Usage",
 | 
			
		||||
    "Prepends ¯\\_(ツ)_/¯ to a plain-text message": "Prepends ¯\\_(ツ)_/¯ to a plain-text message",
 | 
			
		||||
    "Prepends ( ͡° ͜ʖ ͡°) to a plain-text message": "Prepends ( ͡° ͜ʖ ͡°) to a plain-text message",
 | 
			
		||||
    "Sends a message as plain text, without interpreting it as markdown": "Sends a message as plain text, without interpreting it as markdown",
 | 
			
		||||
    "Sends a message as html, without interpreting it as markdown": "Sends a message as html, without interpreting it as markdown",
 | 
			
		||||
    "Searches DuckDuckGo for results": "Searches DuckDuckGo for results",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user