diff options
Diffstat (limited to 'src/commands/fun/spongebob.ts')
| -rw-r--r-- | src/commands/fun/spongebob.ts | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/commands/fun/spongebob.ts b/src/commands/fun/spongebob.ts new file mode 100644 index 0000000..07c7d83 --- /dev/null +++ b/src/commands/fun/spongebob.ts @@ -0,0 +1,35 @@ +import { Command, CommandoMessage } from 'discord.js-commando'; +import sbm from 'spongibobu.js'; +import emoji from 'emoji-random'; + +module.exports = class SpongebobFun extends Command { + constructor(client) { + super(client, { + name: 'spongebob', + aliases: ['spongibobu', 'sbm'], + group: 'fun', + memberName: 'spongebob', + description: 'Spongebob memifys anything you send.', + args: [ + { + key: 'userMsg', + prompt: 'What would you like to spongebob memify?', + type: 'string' + } + ], + examples: [ + 'uwu!spongebob please spongebob memify this', + 'uwu!spongibobu sponge gang', + 'uwu!sbm oooh example' + ], + userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + }); + } + run(msg: CommandoMessage, { userMsg }) { + var m = userMsg; + var u1 = sbm(m); + msg.reply(u1 + ' ' + emoji.random()); + msg.delete(); + } +};
\ No newline at end of file |