Skip to content

Commit

Permalink
Added a warning for no perm on the mute command
Browse files Browse the repository at this point in the history
  • Loading branch information
Voltstro committed Sep 25, 2019
1 parent e78aed1 commit 41d0e42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Pootis-Bot/Modules/Server/ServerSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ public async Task Setup()
warningDes += "<:Cross:537572008574189578> The command `ban` doesn't have a permission added to it!\n";
if (server.GetCommandInfo("kick") == null)
warningDes += "<:Cross:537572008574189578> The command `kick` doesn't have a permission added to it!\n";
if(server.GetCommandInfo("mute") == null)
warningDes += "<:Cross:537572008574189578> The command `mute` doesn't have a permission added to it!\n";
else
warningDes = "You have no warnings! :smile:";
embed.AddField(warningTitle, warningDes);
Expand Down

0 comments on commit 41d0e42

Please sign in to comment.