Skip to content

Commit

Permalink
Added the command addvcchannel to the list of warnings in setup
Browse files Browse the repository at this point in the history
Added a link to the rule message
  • Loading branch information
Voltstro committed Jan 1, 2020
1 parent 3517547 commit a5ab7a8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Pootis-Bot/Modules/Server/ServerSetupStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public async Task Setup()
$"Welcome message is enabled and is set to the channel **{((SocketTextChannel) Context.Client.GetChannel(server.WelcomeChannelId)).Name}**\n";
}

embed.AddField(welcometitle, welocmedes);
embed.AddField(welcometitle, welocmedes, true);

//Goodbye message
string goodbyeTitle = "<:Cross:537572008574189578> Goodbye Message Disabled";
Expand All @@ -58,7 +58,7 @@ public async Task Setup()
"The goodbye message is enabled and is set to the same channel as the welcome message channel.\n";
}

embed.AddField(goodbyeTitle, goodbyeDes);
embed.AddField(goodbyeTitle, goodbyeDes, true);

//Rule reaction
string rulereactiontitle = "<:Cross:537572008574189578> Rule Reaction Disabled";
Expand All @@ -67,7 +67,7 @@ public async Task Setup()
{
rulereactiontitle = "<:Check:537572054266806292> Rule Reaction Enabled";
rulereactiondes =
$"The rule reaction feature is enabled and is set to the message id '{server.RuleMessageId}' with the emoji '{server.RuleReactionEmoji}'";
$"The rule reaction feature is enabled and is set to the message ID '[{server.RuleMessageId}](https://discordapp.com/channels/{Context.Guild.Id}/{server.RuleMessageChannelId}/{server.RuleMessageId})' with the emoji '{server.RuleReactionEmoji}'";
}

embed.AddField(rulereactiontitle, rulereactiondes);
Expand All @@ -89,6 +89,8 @@ public async Task Setup()
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";
if(server.GetCommandInfo("addvcchannel") == null)
warningDes += "<:Cross:537572008574189578> The command `addvcchannel` 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 a5ab7a8

Please sign in to comment.