Patch
This commit is contained in:
@@ -32,21 +32,15 @@ namespace PluginManager.Commands
|
|||||||
|
|
||||||
foreach (var item in args)
|
foreach (var item in args)
|
||||||
{
|
{
|
||||||
bool commandExists = false;
|
|
||||||
var e = GenerateHelpCommand(item);
|
var e = GenerateHelpCommand(item);
|
||||||
if (e != null)
|
if (e != null)
|
||||||
{
|
|
||||||
commandExists = true;
|
|
||||||
context.Channel.SendMessageAsync(embed: e.Build());
|
context.Channel.SendMessageAsync(embed: e.Build());
|
||||||
}
|
else
|
||||||
if (!commandExists)
|
|
||||||
context.Channel.SendMessageAsync("Unknown Command " + item);
|
context.Channel.SendMessageAsync("Unknown Command " + item);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
EmbedBuilder embedBuilder = new EmbedBuilder();
|
||||||
bool isAdmin = ((SocketGuildUser)message.Author).isAdmin();
|
|
||||||
Discord.EmbedBuilder embedBuilder = new Discord.EmbedBuilder();
|
|
||||||
|
|
||||||
string adminCommands = "";
|
string adminCommands = "";
|
||||||
string normalCommands = "";
|
string normalCommands = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user