mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-14 03:09:59 +00:00
Added and fixed broken commands
This commit is contained in:
@@ -286,7 +286,7 @@ export default class Play extends DiscordModule {
|
||||
|
||||
query = args.join(' ');
|
||||
} else if (data.isSlashCommand()) {
|
||||
query = args.getSubcommand();
|
||||
query = data.getSlashCommand().options.getString('query');
|
||||
}
|
||||
|
||||
if (!query) return;
|
||||
|
||||
@@ -97,7 +97,7 @@ export default class Search extends DiscordModule {
|
||||
query = args.join(' ');
|
||||
}
|
||||
else if (data.isSlashCommand())
|
||||
query = args.getSubcommand();
|
||||
query = data.getSlashCommand().options.getString('query');
|
||||
else if (data.isButton())
|
||||
query = args;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user