public Music(DiscordSocketClient client, IBotCredentials creds, IGoogleApiService google, DbService db, LogCommandService logService) { _client = client; _creds = creds; _google = google; _db = db; _logService = logService; }
public static IMessage DeleteAfter(this IUserMessage msg, int seconds, LogCommandService logService = null) { Task.Run(async() => { await Task.Delay(seconds * 1000).ConfigureAwait(false); if (logService != null) { logService.AddDeleteIgnore(msg.Id); } try { await msg.DeleteAsync().ConfigureAwait(false); } catch { } }); return(msg); }
public Music(LogCommandService _logService) { this._logService = _logService; }
public PlantPickCommands(LogCommandService logService, GamblingConfigService gss) : base(gss) { this.logService = logService; }
public PlantPickCommands(LogCommandService logService) { this.logService = logService; }