From 836a04e6ba320d8df231cd4f792bef14fabb2580 Mon Sep 17 00:00:00 2001
From: Pablo Lopez
Date: Thu, 26 Jun 2025 22:45:47 +0300
Subject: [PATCH] fix: update criticality
Co-authored-by: fryorcraken <110212804+fryorcraken@users.noreply.github.com>
---
ratelimit/ratelimit.nim | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ratelimit/ratelimit.nim b/ratelimit/ratelimit.nim
index e2482e4..18b3a1f 100644
--- a/ratelimit/ratelimit.nim
+++ b/ratelimit/ratelimit.nim
@@ -3,9 +3,9 @@ import chronos
type
MessagePriority* = enum
- Optional = 0
+ Critical = 0
Normal = 1
- Critical = 2
+ Optional = 2
QueuedMessage*[T] = object
messageId*: string