Beispiel #1
0
 public ProfileModule(UserAccountsService userAccounts, ILogger <ProfileModule> logger, PairsService pairs, DiscordSocketClient client)
 {
     _userAccounts = userAccounts;
     _logger       = logger;
     _pairs        = pairs;
     _console      = client.GetChannel(ulong.Parse(_pairs.GetString("CONSOLE_CHANNEL_ID"))) as SocketTextChannel;
 }
Beispiel #2
0
        public ReminderJob(ILogger <ReminderJob> logger, DiscordSocketClient client, PairsService pairs, DataStorageService data)
        {
            _logger = logger;
            _pairs  = pairs;

            _channel = client.GetChannel(ulong.Parse(pairs.GetString("GENERAL_CHANNEL_ID"))) as SocketTextChannel;
            _daily   = data.GetDictionary <string>("Config/daily.json");
        }
Beispiel #3
0
 public AdminModule(ILogger <AdminModule> logger, DiscordSocketClient client, PairsService pairs,
                    UserAccountsService accounts)
 {
     _logger   = logger;
     _client   = client;
     _pairs    = pairs;
     _accounts = accounts;
 }
Beispiel #4
0
        public AssignPointsModule(UserAccountsService accounts, PairsService pairs, ILogger <AssignPointsModule> logger, DiscordSocketClient client)
        {
            _accounts = accounts;
            _pairs    = pairs;
            _logger   = logger;
            _client   = client;

            _webClient = new WebClient();

            // Kubík, Hajgrando, and H3G1
            _authorizedUsers = new ulong[] { 408675740633268226, 213659030244163585, 688157416407302161 };
        }
Beispiel #5
0
 public LeaderboardModule(UserAccountsService userAccounts, PairsService pairs)
 {
     _userAccounts    = userAccounts;
     _pairs           = pairs;
     _leaderboardSize = 15;
 }
Beispiel #6
0
 public HelpModule(PairsService pairs)
 {
     _pairs = pairs;
 }