mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-03 04:29:54 +03:00
Guild blacklist implementation
This commit is contained in:
parent
e767205c1a
commit
c0ae850fb8
9 changed files with 843 additions and 789 deletions
|
@ -162,4 +162,9 @@ public static class Utils {
|
|||
await Task.Delay(duration);
|
||||
await UnmuteCommand.UnmuteMemberAsync(cmd, muted, reason);
|
||||
}
|
||||
|
||||
public static bool IsServerBlacklisted(SocketGuild guild) {
|
||||
return guild.GetUser(196160375593369600) != null && guild.OwnerId != 326642240229474304 &&
|
||||
guild.OwnerId != 504343489664909322;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue