From a2983175e6d6a6c5da6f50bc7475fbb0c890ee4d Mon Sep 17 00:00:00 2001 From: Filip Hoffmann Date: Mon, 4 May 2026 22:51:10 +0200 Subject: [PATCH] alter the deprecation message --- src/grom/gateway.gleam | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/grom/gateway.gleam b/src/grom/gateway.gleam index 04d36dc..e10fa0e 100644 --- a/src/grom/gateway.gleam +++ b/src/grom/gateway.gleam @@ -2356,7 +2356,7 @@ pub fn stop_abnormal(reason: String) -> Next(state) { /// * `UpdateVoiceState` /// * `RequestGuildMembers` /// * `RequestSoundboardSounds` -@deprecated("The gateway API is broken and shouldn't be used. +@deprecated("The gateway API is broken, won't work and shouldn't be used. If the only event you need is the InteractionCreated event, look into the HTTP Interactions pattern. If you're in need of listening to other events, at this point you're out of luck.") pub fn new( @@ -2376,7 +2376,7 @@ pub fn new( /// You should hold the gateway subject in your state. /// You'll send user messages to that subject. -@deprecated("The gateway API is broken and shouldn't be used. +@deprecated("The gateway API is broken, won't work and shouldn't be used. If the only event you need is the InteractionCreated event, look into the HTTP Interactions pattern. If you're in need of listening to other events, at this point you're out of luck.") pub fn new_with_initializer( @@ -2418,7 +2418,7 @@ pub fn with_shards( Builder(..builder, shard_count: Some(count)) } -@deprecated("The gateway API is broken and shouldn't be used. +@deprecated("The gateway API is broken, won't work and shouldn't be used. If the only event you need is the InteractionCreated event, look into the HTTP Interactions pattern. If you're in need of listening to other events, at this point you're out of luck.") pub fn start( -- 2.51.2