Ejemplo n.º 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 CustomizedCommandTable();
            Rules          = new RuleTable();
            Mutes          = new MuteTable();
            Bans           = new BanTable();

            UnityDocs = new UnityDocs("manualReference.json", "scriptReference.json");
            Cooldowns = CooldownData.FromPath("cooldowns.json");
        }
Ejemplo n.º 2
0
 public HelpCommand(CommandService commands, CustomizedCommandTable customCommands)
 {
     _commands       = commands;
     _customCommands = customCommands;
 }
Ejemplo n.º 3
0
 public CustomizedCommand(CustomizedCommandTable customCommands)
 {
     _customCommands = customCommands;
 }