move tags to markdown

This commit is contained in:
Ryan Cao 2022-10-29 23:17:40 +08:00
parent 029ba31520
commit 4e2afcc7f8
No known key found for this signature in database
24 changed files with 242 additions and 281 deletions

View file

@ -1,6 +1,6 @@
import { SlashCommandBuilder, Routes, PermissionFlagsBits } from 'discord.js';
import { REST } from '@discordjs/rest';
import { getTags } from './tagsTags';
import { getTags } from './tags';
export const reuploadCommands = async () => {
const tags = await getTags();
@ -39,7 +39,7 @@ export const reuploadCommands = async () => {
),
new SlashCommandBuilder()
.setName('say')
.setDescription('Say someothing through the bot')
.setDescription('Say something through the bot')
.addStringOption((option) =>
option
.setName('content')
@ -48,11 +48,6 @@ export const reuploadCommands = async () => {
)
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers)
.setDMPermission(false),
new SlashCommandBuilder()
.setName('rolemenu')
.setDescription('Make a role menu')
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers)
.setDMPermission(false),
new SlashCommandBuilder().setName('joke').setDescription("it's a joke"),
].map((command) => command.toJSON());