Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tricked-dev committed Dec 18, 2021
1 parent d56524b commit 24d21f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/struct/commands/CommandHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export class NaticoCommandHandler<T extends NaticoClient> extends NaticoHandler<
*/
async enableSlash(guildID?: bigint) {
const slashed = this.slashed();
await upsertSlashCommands(this.client, slashed, guildID);
await this.client.helpers.upsertApplicationCommands(slashed, guildID);
return slashed;
}
slashed(): any {
Expand Down

0 comments on commit 24d21f4

Please sign in to comment.