public static ModuleDetails ResolveModule <T>(this DiscordBotModule <T> module, ModuleInfo mod)
     where T : class, IDiscordBotCommandContext
 {
     return(module.ResolveModule(mod.GetDetailsName()));
 }
 public static CommandDetails ResolveCommand <T>(this DiscordBotModule <T> module, CommandInfo cmd)
     where T : class, IDiscordBotCommandContext
 {
     return(module.ResolveCommand(cmd.GetDetailsName()));
 }
 public static ModuleDetails ResolveModule <T>(this DiscordBotModule <T> module, string moduleName)
     where T : class, IDiscordBotCommandContext
 {
     return(module.Commands.CommandSet.FindModule(moduleName));
 }
 public static CommandDetails ResolveCommand <T>(this DiscordBotModule <T> module, string commandName)
     where T : class, IDiscordBotCommandContext
 {
     return(module.Commands.CommandSet.FindCommand(commandName));
 }