The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rocket.Chat/packages/rocketchat-slashcommand-asc.../unflip.js

18 lines
437 B

/*
* Unflip is a named function that will replace /unflip commands
* @param {Object} message - The message object
*/
function Unflip(command, params, item) {
if (command === 'unflip') {
const msg = item;
msg.msg = `${ params } ┬─┬ ノ( ゜-゜ノ)`;
Meteor.call('sendMessage', msg);
}
}
RocketChat.slashCommands.add('unflip', Unflip, {
description: 'Slash_TableUnflip_Description',
params: 'your_message_optional'
});