From 073456437168ab07fdfa897225faebed7c6372da Mon Sep 17 00:00:00 2001 From: d-shaun Date: Tue, 5 Oct 2021 12:50:09 -0400 Subject: [PATCH] some todos for the next version --- src/beta/commands/lyrics.ts | 1 + src/stable/commands/config.ts | 1 + src/stable/commands/prefix.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/src/beta/commands/lyrics.ts b/src/beta/commands/lyrics.ts index c010525..c16f206 100644 --- a/src/beta/commands/lyrics.ts +++ b/src/beta/commands/lyrics.ts @@ -46,6 +46,7 @@ class LyricsCommand extends Command { search_query = `${track_name} ${artist_name}`; } else search_query = args.join(" "); + // TODO: &lyrics: support for custom lyrics and use Last.fm for search const lyricist = new Lyricist(bot.genius_api); const song = (await lyricist.search(search_query))[0]; if (!song) { diff --git a/src/stable/commands/config.ts b/src/stable/commands/config.ts index a383b3c..a096c28 100644 --- a/src/stable/commands/config.ts +++ b/src/stable/commands/config.ts @@ -17,6 +17,7 @@ class ConfigCommand extends Command { } async run(bot: CrownBot, message: GuildMessage, args: string[]) { + // TODO: Interactive &config with buttons/select-menus? const response = new BotMessage({ bot, message, text: "", reply: true }); if (!message.member?.permissions.has("MANAGE_GUILD")) { response.text = diff --git a/src/stable/commands/prefix.ts b/src/stable/commands/prefix.ts index 6800173..eb19b9f 100644 --- a/src/stable/commands/prefix.ts +++ b/src/stable/commands/prefix.ts @@ -16,6 +16,7 @@ class PrefixCommand extends Command { } async run(bot: CrownBot, message: GuildMessage, args: string[]) { + // TODO: Migrate prefix into &config const server_prefix = bot.cache.prefix.get(message.guild); const response = new BotMessage({ bot, message, text: "", reply: true }); if (args.length === 0) {