Skip to content

Commit

Permalink
🐛 Fix autorole command
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Jul 23, 2020
1 parent d47f5d1 commit 14626f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/Administration/autorole.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Autorole extends Command {

if(status === "off"){

if(!data.plugins.autorole.enabled){
if(!data.guild.plugins.autorole.enabled){
return message.success("administration/autorole:ALREADY_DISABLED", {
prefix: data.guild.prefix
});
Expand Down

0 comments on commit 14626f4

Please sign in to comment.