async Task RemoveThisGuildsJobConfigs(SocketGuild arg) { var textChannelIds = arg.TextChannels.Select(s => Convert.ToDecimal(s.Id)); foreach (var id in textChannelIds) { await _FunctionWrapper.DeleteJobConfigAsync(id); } }
public async Task Off() { await _FunctionWrapper.DeleteJobConfigAsync(Context.Channel.Id); await TryReplyAsync("Done."); }