modrinth command
This commit is contained in:
parent
bc0725595d
commit
8852026e2c
5 changed files with 110 additions and 1 deletions
|
@ -18,6 +18,7 @@ import random from 'just-random';
|
|||
import { green, bold, yellow } from 'kleur/colors';
|
||||
import 'dotenv/config';
|
||||
import { getTags } from './tagsTags';
|
||||
import { modrinthCommand } from './commands/modrinth';
|
||||
|
||||
const client = new Client({
|
||||
intents: [
|
||||
|
@ -137,6 +138,8 @@ client.on('interactionCreate', async (interaction) => {
|
|||
await membersCommand(interaction);
|
||||
} else if (commandName === 'stars') {
|
||||
await starsCommand(interaction);
|
||||
} else if (commandName === 'modrinth') {
|
||||
await modrinthCommand(interaction);
|
||||
} else if (commandName === 'rolypoly') {
|
||||
await interaction.reply(
|
||||
'https://media.discordapp.net/attachments/985048903126769764/985051373886382100/rollin-time.gif?width=324&height=216'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue