Example #1
0
        public static void Init()
        {
            if (Bots.TestChatBot != null)
            {
                TestChatCommands = new GroupCommands("test", Bots.TestChatBot);
                TestChatCommands.Commands.AddRange(GenericCommands.GetAllGenericCommands(Bots.TestChatBot));
                TestChatCommands.Commands.AddRange(WarCommands.GetAllWarCommands(Bots.TestChatBot));
                TestChatCommands.Commands.Add(GodCommands.GetGroupIDsCommand(Bots.TestChatBot));
            }

            if (Bots.LeadershipChatBot != null)
            {
                LeadershipChatCommands = new GroupCommands("leadership", Bots.LeadershipChatBot);
                LeadershipChatCommands.Commands.AddRange(GenericCommands.GetAllGenericCommands(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(WarCommands.ClashCallerCommand(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(WarCommands.GetWarMatchUsCommand(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(WarCommands.GetSetVillageCommand(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(WarCommands.GetGetVillageCommand(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(GenericCommands.BanCommand(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(GenericCommands.UnbanCommand(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(GenericCommands.MembersListCommand(Bots.LeadershipChatBot));
            }

            if (Bots.WarChatBot != null)
            {
                WarChatCommands = new GroupCommands("war", Bots.WarChatBot);
                WarChatCommands.Commands.Add(GenericCommands.CommandListCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.ShutupCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.BabyComeBackCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.EveryoneCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.CallModsCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.ModTagCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.TagMeInCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.TagMeInWithReasonCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.MemberJoinedCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.AvoidNukeCommand(Bots.WarChatBot));
            }

            if (Bots.GeneralChatBot != null)
            {
                GeneralChatCommands = new GroupCommands("general", Bots.GeneralChatBot);
                GeneralChatCommands.Commands.AddRange(GeneralCommands.GetAllGeneralCommands(Bots.GeneralChatBot));
                GeneralChatCommands.Commands.AddRange(GenericCommands.GetAllGenericCommands(Bots.GeneralChatBot));
                GeneralChatCommands.Commands.Add(GenericCommands.MemberJoinedCommand(Bots.GeneralChatBot));
            }

            if (Bots.WhenInRomeChatBot != null)
            {
                WhenInRomeChatCommands = new GroupCommands("wheninrome", Bots.WhenInRomeChatBot);

                WhenInRomeChatCommands.Commands.Add(GenericCommands.CommandListCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.UnixTimeCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.HiCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.BabyComeBackCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.ShutupCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.CuntCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.GifCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.RandomHandsUpCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.RollDiceCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.FlipACoinCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.TagMeInCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.TagMeInWithReasonCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.DontFlipTheTableCommand(Bots.WhenInRomeChatBot));
            }
        }
Example #2
0
        public static void Init()
        {
            if (Bots.TestChatBot != null)
            {
                TestChatCommands = new GroupCommands("test", Bots.TestChatBot);
                TestChatCommands.Commands.AddRange(GenericCommands.GetAllGenericCommands(Bots.TestChatBot));
                TestChatCommands.Commands.AddRange(LeadershipCommands.GetAllLeadershipCommands(Bots.TestChatBot));
                TestChatCommands.Commands.AddRange(WarCommands.GetAllWarCommands(Bots.TestChatBot));
                TestChatCommands.Commands.Add(GodCommands.GetGroupIDsCommand(Bots.TestChatBot));
            }

            if (Bots.LeadershipChatBot != null)
            {
                LeadershipChatCommands = new GroupCommands("leadership", Bots.LeadershipChatBot);
                LeadershipChatCommands.Commands.AddRange(GenericCommands.GetAllGenericCommands(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.AddRange(LeadershipCommands.GetAllLeadershipCommands(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(WarCommands.ClashCallerCommand(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(WarCommands.GetWarMatchUsCommand(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(WarCommands.GetSetVillageCommand(Bots.LeadershipChatBot));
                LeadershipChatCommands.Commands.Add(WarCommands.GetGetVillageCommand(Bots.LeadershipChatBot));
            }

            if (Bots.WarChatBot != null)
            {
                WarChatCommands = new GroupCommands("war", Bots.WarChatBot);
                WarChatCommands.Commands.AddRange(WarCommands.GetAllWarCommands(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.CommandListCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.ShutupCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.BabyComeBackCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.EveryoneCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.CallModsCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.ModTagCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.TagMeInCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.TagMeInWithReasonCommand(Bots.WarChatBot));
                WarChatCommands.Commands.Add(GenericCommands.MemberJoinedCommand(Bots.WarChatBot));
            }

            if (Bots.GeneralChatBot != null)
            {
                GeneralChatCommands = new GroupCommands("general", Bots.GeneralChatBot);
                GeneralChatCommands.Commands.AddRange(GeneralCommands.GetAllGeneralCommands(Bots.GeneralChatBot));
                GeneralChatCommands.Commands.AddRange(GenericCommands.GetAllGenericCommands(Bots.GeneralChatBot));
                GeneralChatCommands.Commands.Add(GenericCommands.MemberJoinedCommand(Bots.GeneralChatBot));
            }

            if (Bots.WhenInRomeChatBot != null)
            {
                WhenInRomeChatCommands = new GroupCommands("wheninrome", Bots.WhenInRomeChatBot);

                WhenInRomeChatCommands.Commands.Add(GenericCommands.CommandListCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.UnixTimeCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.HiCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.BabyComeBackCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.ShutupCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.CuntCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.GifCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.RandomHandsUpCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.RollDiceCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.FlipACoinCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.TagMeInCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.TagMeInWithReasonCommand(Bots.WhenInRomeChatBot));
                WhenInRomeChatCommands.Commands.Add(GenericCommands.DontFlipTheTableCommand(Bots.WhenInRomeChatBot));
            }

            if (Bots.ReconChatBot != null)
            {
                ReconChatCommands = new GroupCommands("recon", Bots.ReconChatBot);

                ReconChatCommands.Commands.Add(ReconCommands.WelcomeMessageCommand(Bots.ReconChatBot));

                ReconChatCommands.Commands.Add(GenericCommands.CommandListCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.UnixTimeCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.HiCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.BabyComeBackCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.ShutupCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.CuntCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.GifCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.RandomHandsUpCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.RollDiceCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.FlipACoinCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.TagMeInCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.TagMeInWithReasonCommand(Bots.ReconChatBot));
                ReconChatCommands.Commands.Add(GenericCommands.DontFlipTheTableCommand(Bots.ReconChatBot));
            }
        }