Example #1
0
 public About(ulong guildId, BlendoBot blendobot) : base(guildId, blendobot)
 {
     this.blendobot    = blendobot;
     discordInteractor = blendobot.GetService <IDiscordInteractor>();
     commandManager    = blendobot.GetService <ICommandManager>();
     config            = blendobot.Config;
 }
Example #2
0
 public Help(ulong guildId, BlendoBot blendobot) : base(guildId, blendobot)
 {
     discordInteractor = blendobot.GetService <IDiscordInteractor>();
     commandManager    = blendobot.CommandManager;
 }
Example #3
0
        public static void Main(string[] args)
        {
            var blendobot = new BlendoBot("config.cfg");

            blendobot.Start(args).ConfigureAwait(false).GetAwaiter().GetResult();
        }
Example #4
0
 public Admin(ulong guildId, BlendoBot blendobot) : base(guildId, blendobot)
 {
     discordInteractor = blendobot.DiscordInteractor;
     commandManager    = blendobot.CommandManager;
 }