A discord bot for teal.fm
discord
tealfm
music
1import { logger } from "@tealfmbot/common/logger";
2// import {db} from "@tealfmbot/database/db"
3import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js";
4
5export default {
6 data: new SlashCommandBuilder()
7 .setName("recent")
8 .setDescription(
9 "Show your most recently played track",
10 ),
11 async execute(interaction: ChatInputCommandInteraction) {
12 await interaction.reply("recent");
13 logger.info(
14 `fetching recent track for ${interaction.user.username} in guild ${interaction.guildId} at ${new Date().toJSON()}`,
15 );
16 },
17};