public static CommandModule UseCommands(this DiscordClient client) { var module = new CommandModule(); client.AddModule(module); return(module); }
public static CommandModule UseCommands(this DiscordClient client, CommandConfig config) { var module = new CommandModule(config); client.AddModule(module); return(module); }
public CommandModule(CommandConfig config) { this.config = config; instance = this; }
public CommandModule() { config = new CommandConfig(); instance = this; }