Exemplo n.º 1
0
 public async Task HelpAsync([Remainder] ModuleInfo moduleName)
 {
     if (!moduleName.CanExecute(Context, _provider))
     {
         await ReplyAsync("You do not have permission to view this module.").ConfigureAwait(false);
     }
     else
     {
         await ReplyAsync("", embed: moduleName.GetEmbed(Context, _provider)).ConfigureAwait(false);
     }
 }