예제 #1
0
        public DiscordCoreModule()
        {
            ModuleSettings = Settings.Load();

            commandRegistry.Add("invite", new InviteCommand());
            commandRegistry.Add("ping", new PingCommand());
            commandRegistry.Add("setplaying", new SetPlayingCommand());
            commandRegistry.Add("help", new HelpCommand(ModuleSettings.HelpReferenceSite));
        }
예제 #2
0
 private void InitializeCommands()
 {
     commandRegistry.Add("about", new AboutCommand());
     commandRegistry.Add("echo", new EchoCommand());
 }