summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-01-11 16:06:45 +0100
committerRory& <root@rory.gay>2026-01-11 16:06:45 +0100
commitc72cc901aed31e7ed708d6533e9a4f0e3ee826f1 (patch)
treed67adb3ef7cb5e8b3ad2b59df9d5c4e8f718f4e4
parentServer updates (diff)
downloadRory-Open-Architecture-c72cc901aed31e7ed708d6533e9a4f0e3ee826f1.tar.xz
spacebar: migrate limist config
-rw-r--r--host/Rory-ovh/services/containers/spacebar/services/spacebar.nix82
1 files changed, 82 insertions, 0 deletions
diff --git a/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix b/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix

index 67b1839..d5185dc 100644 --- a/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix +++ b/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix
@@ -53,6 +53,88 @@ in guilds = [ "1006649183970562092" ]; }; }; + limits = { + guild = { + maxMembers = 25000000; + maxEmojis = 2000; + maxChannelsInCategory = 65535; + maxChannels = 250; + maxRoles = 250; + maxBulkBanUsers = 200; + maxStickers = 500; + }; + message = { + maxCharacters = 1048576; + maxTTSCharacters = 160; + maxReactions = 2048; + maxAttachmentSize = 1073741824; + maxEmbedDownloadSize = 5242880; + maxBulkDelete = 1000; + maxPreloadCount = 100; + }; + channel = { + maxPins = 500; + maxTopic = 1024; + maxWebhooks = 100; + }; + rate = { + ip = { + window = 5; + count = 500; + }; + global = { + count = 250; + window = 5; + }; + error = { + window = 5; + count = 10; + }; + routes = { + guild = { + window = 5; + count = 5; + }; + webhook = { + count = 10; + window = 5; + }; + channel = { + count = 10; + window = 5; + }; + auth = { + login = { + window = 60; + count = 5; + }; + register = { + count = 2; + window = 43200; + }; + }; + }; + enabled = false; + }; + user = { + maxGuilds = 1000; + maxUsername = 64; + maxFriends = 2000; + maxBio = 500; + }; + absoluteRate = { + register = { + limit = 25; + window = 3600000; + enabled = false; + }; + sendMessage = { + limit = 120; + window = 60000; + enabled = false; + }; + }; + }; user = { blockedContains = [ "discord"