feat: aggregate cluster statistics and send to influx with scheduled tasks worker

This commit is contained in:
spiral
2022-03-14 23:33:22 -04:00
parent 857e20b601
commit 8909330db2
8 changed files with 106 additions and 69 deletions

View File

@@ -156,7 +156,7 @@ public class Checks
throw new PKSyntaxError("You need to specify a channel.");
var error = "Channel not found or you do not have permissions to access it.";
// todo: this breaks if channel is not in cache and bot does not have View Channel permissions
var channel = await ctx.MatchChannel();
if (channel == null || channel.GuildId == null)