mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
small changes
This commit is contained in:
1 parent
1220ef171f
commit
6fb370147e
3 files changed
+14
-15
No files matched your search
@@ -31,7 +31,6 @@ class LyricsAutocomplete extends BaseAutocompleteInteraction {
|
||||
|
||||
const genius = lyricsExtractor();
|
||||
const lyricsResult: LyricsData = (await genius.search(query).catch(() => null)) as LyricsData;
|
||||
// TODO: Update TS Type for lyricsResult and create response object type
|
||||
let response: ApplicationCommandOptionChoiceData<string>[] = [];
|
||||
|
||||
if (!lyricsResult) {
|
||||
|
||||
Reference in new issue
Block a user