This commit is contained in:
2022-04-08 18:49:51 +03:00
parent b57e132912
commit d8d92ea56e

View File

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