Update the message limits

This commit is contained in:
2025-04-09 09:10:30 +02:00
parent 038f54c3b3
commit 4a816696ec
@@ -175,11 +175,11 @@ public class DiscordBot {
};
// There is a hard limit of 30 messages per minute to send as a webhook, thus with 5 webhooks we can send
// 180 messages per minute. Which means 3 every second. I looked at the WGS fights and there were around
// 240 messages per minute. Which means 4 every second. I looked at the WGS fights and there were around
// ~70 in a short burst and then rather long no new message.
ingameChat = new DiscordChatRoom(config.channel("ingame"), "CHAT_DISCORD_GLOBAL", Chatter::broadcast, 5);
// 30 messages per minute should be enough for the server team!
serverTeamChat = new DiscordChatRoom(config.channel("serverteam"), "CHAT_SERVERTEAM", Chatter::serverteam, 1);
ingameChat = new DiscordChatRoom(config.channel("ingame"), "CHAT_DISCORD_GLOBAL", Chatter::broadcast, 8);
// 60 messages per minute should be enough for the server team!
serverTeamChat = new DiscordChatRoom(config.channel("serverteam"), "CHAT_SERVERTEAM", Chatter::serverteam, 2);
VelocityCore.schedule(() -> {
try {