add jokes kekw
This commit is contained in:
parent
4dd06821d1
commit
8c5b317e11
3 changed files with 16 additions and 1 deletions
|
@ -9,6 +9,7 @@ import { membersCommand } from './commands/members';
|
|||
import { starsCommand } from './commands/stars';
|
||||
import { modrinthCommand } from './commands/modrinth';
|
||||
import { tagsCommand } from './commands/tags';
|
||||
import { jokeCommand } from './commands/joke';
|
||||
|
||||
import random from 'just-random';
|
||||
import { green, bold, yellow } from 'kleur/colors';
|
||||
|
@ -118,7 +119,9 @@ client.on('interactionCreate', async (interaction) => {
|
|||
await interaction.channel.send(interaction.options.getString('content')!);
|
||||
await interaction.editReply('I said what you said!');
|
||||
} else if (commandName === 'tag') {
|
||||
tagsCommand(interaction);
|
||||
await tagsCommand(interaction);
|
||||
} else if (commandName === 'joke') {
|
||||
await jokeCommand(interaction);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue