Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #46 from Catboi8/interactions
Browse files Browse the repository at this point in the history
Interactions updated
  • Loading branch information
JustCat80 authored Aug 3, 2021
2 parents 2b7a69f + 8c4d8f5 commit 18acc95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ declare namespace Eris {
type InteractionDataOptions = {
name: string;
type: Constants["CommandOptionTypes"][keyof Constants["CommandOptionTypes"]];
value?: Constants["CommandOptionTypes"][keyof Constants["CommandOptionTypes"]];
value?: string;
options?: InteractionDataOptions[];
};

Expand Down
2 changes: 1 addition & 1 deletion lib/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class Guild extends Base {
* @returns {Promise<Object>} Resolves with a commands object
*/
bulkEditCommands(commands) {
return this._client.createGuildCommands.call(this._client, this.id, commands);
return this._client.bulkEditGuildCommands.call(this._client, this.id, commands);
}

/**
Expand Down

0 comments on commit 18acc95

Please sign in to comment.