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,22 +0,0 @@
import {
ActionRowBuilder,
ButtonBuilder,
ButtonStyle,
CacheType,
ChatInputCommandInteraction,
} from 'discord.js';
export const roleMenuCommand = async (
i: ChatInputCommandInteraction<CacheType>
) => {
const row = new ActionRowBuilder<ButtonBuilder>().addComponents(
new ButtonBuilder()
.setCustomId('showRoleMenu')
.setLabel('Show role menu')
.setStyle(ButtonStyle.Primary)
);
await i.channel?.send({ content: '**Role menu**', components: [row] });
await i.reply({ content: 'Done!', ephemeral: true });
};

View file

@ -3,7 +3,7 @@ import {
type CacheType,
EmbedBuilder,
} from 'discord.js';
import { getTags } from '../tagsTags';
import { getTags } from '../tags';
export const tagsCommand = async (
i: ChatInputCommandInteraction<CacheType>