Beispiel #1
0
 public async Task HelpAsync([Remainder] CommandInfo commandName)
 {
     if (!commandName.CanExecute(Context, _provider))
     {
         await ReplyAsync("You do not have permission to run this command.").ConfigureAwait(false);
     }
     else
     {
         await ReplyAsync("", embed: commandName.GetEmbed(Context)).ConfigureAwait(false);
     }
 }