Beispiel #1
0
        public VkBot(string token, Random random, ulong groupId, ErrorReporter reporter)
        {
            Commands          = new CommandList();
            ErrorReporter     = reporter;
            Settings          = new VkBotSettings(new VkApi(), token, groupId);
            helper            = new VkApiHelper(Settings.Api, random, ErrorReporter);
            MessageMonitoring = new MessageMonitoring(helper, groupId, Commands);

            InitCommand();
        }
 public InfoExecutor(List <ICommand> Command, Bot.Bl.VkApiHelper helper)
 {
     this.Command = Command;
     Api          = helper;
 }