Skip to content

Commit

Permalink
Fix Guild#editWidget() (abalabahaha#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
macdja38 authored Jan 9, 2021
1 parent fdf9ea8 commit c936232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ class Guild extends Base {
* @returns {Promise<Object>} A guild widget object
*/
editWidget(options) {
return this._client.getGuildWidget.call(this._client, this.id, options);
return this._client.editGuildWidget.call(this._client, this.id, options);
}

/**
Expand Down

0 comments on commit c936232

Please sign in to comment.