public ArmoryCommandContext(DiscordSocketClient _client, SocketUserMessage _msg, BlizzardAPI _api, char _prefix, ILogger <Worker> _logger) { this.Client = _client; this.Guild = (_msg.Channel as IGuildChannel)?.Guild; this.Channel = _msg.Channel; this.User = _msg.Author; this.Message = _msg; this.API = _api; this.Prefix = _prefix; this.Logger = _logger; }
public ArmoryBot(ILogger <Worker> logger, ArmoryBotConfig config) { this.Logger = logger; this.Config = config; this.BlizzAPI = new BlizzardAPI(logger, config); // Initializes Blizzard API }