From c04338155b2e4ad59268cb36724d5e359e35475a Mon Sep 17 00:00:00 2001 From: Jacob Date: Wed, 20 May 2026 16:00:47 -0400 Subject: [PATCH] feat: error messages for `ParseGuildVCToTextChannelError` --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index 4dd72fb..9b29726 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,18 +75,23 @@ impl From for SampleRate { #[derive(Debug, Snafu)] enum ParseGuildVCToTextChannelError { + /// the guild ID needs to be included with : before the voice channel to text channel mapping NoScope, + /// a voice channel ID needs to be specified then -> to the corresponding text channel ID NoRelation, + /// could not parse the guild ID ParseGuildError { source: as FromStr>::Err, }, + /// could not parse the voice channel ID ParseVoiceChannelError { source: as FromStr>::Err, }, + /// could not parse the text channel ID ParseTextChannelError { source: as FromStr>::Err, },