/// <summary> /// Initializes the data files from the disk /// </summary> public void InitializeDataFiles() { // Load the lookup files EventPoints = new EventPointTable(); Settings = new SettingsTable(); Statistics = new StatisticsTable(); CustomCommands = new CustomCommandsTable(); Rules = new RuleTable(); Mutes = new MuteTable(); Bans = new BanTable(); UnityDocs = new UnityDocs("manualReference.json", "scriptReference.json"); Cooldowns = CooldownData.FromPath("cooldowns.json"); }
public HelpCommand(CommandService commands, CustomCommandsTable customCommands) { _commands = commands; _customCommands = customCommands; }
/// <summary> /// Creates a new custom command module, with data from a reference table. /// </summary> public CustomCommandModule(CustomCommandsTable referenceTable) { _table = referenceTable; }
public CustomizedCommand(CustomCommandsTable customCommands) { _customCommands = customCommands; }