Example #1
0
        /// <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");
        }
Example #2
0
 public HelpCommand(CommandService commands, CustomCommandsTable customCommands)
 {
     _commands       = commands;
     _customCommands = customCommands;
 }
Example #3
0
 /// <summary>
 /// Creates a new custom command module, with data from a reference table.
 /// </summary>
 public CustomCommandModule(CustomCommandsTable referenceTable)
 {
     _table = referenceTable;
 }
Example #4
0
 public CustomizedCommand(CustomCommandsTable customCommands)
 {
     _customCommands = customCommands;
 }