mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-14 03:09:59 +00:00
Fixed discord.js v14 breaking changes
This commit is contained in:
@@ -91,7 +91,7 @@ export default class Settings extends DiscordModule {
|
||||
});
|
||||
|
||||
query = args[0].toLowerCase();
|
||||
} else if (data.isSlashCommand()) {
|
||||
} else if (data.isApplicationCommand()) {
|
||||
query = args.getSubcommand();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user