Skip to content

Commit

Permalink
feat(CommandPermissions): setUser to setAuthor
Browse files Browse the repository at this point in the history
Missed to change setUser to setAuthor: df13457
  • Loading branch information
Khaaz authored Feb 24, 2020
1 parent 39da595 commit 37a4838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Structures/Command/CommandPermissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ class CommandPermissions {
* @returns {CommandPermissions}
* @memberof CommandPermissions
*/
setUser(object = { bypass: [], needed: [] }, toAdd = false) {
setAuthor(object = { bypass: [], needed: [] }, toAdd = false) {
if (toAdd) {
if (object.bypass.length > 0) {
this.author.bypass = [...this.author.bypass, ...object.bypass];
Expand Down

0 comments on commit 37a4838

Please sign in to comment.