From 692ef6389aefd75a00da215084ca576655a7d6a6 Mon Sep 17 00:00:00 2001 From: Vicky Date: Thu, 7 Nov 2024 10:41:04 +0100 Subject: [PATCH] minor typo edits --- src/io.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io.rs b/src/io.rs index 283f6ad..9b89066 100644 --- a/src/io.rs +++ b/src/io.rs @@ -177,11 +177,11 @@ pub async fn vote_modal( underlying_data.group.as_deref(), guild.roles.values().map(|v| v.name.as_str()).collect(), ) - .ok_or(IdleError::AcquiringDiscordGuild) // Maybe the guild doesn't exits or the match is too far or the group wasn't specified + .ok_or(IdleError::AcquiringDiscordGuild) // Maybe the guild doesn't exist or the match is too far or the group wasn't specified .and_then(|role_found: String| { guild .role_by_name(&role_found) - .ok_or(IdleError::AcquiringDiscordGroup(role_found)) // Maybe somehow the group canno't be acquired by that name + .ok_or(IdleError::AcquiringDiscordGroup(role_found)) // Maybe somehow the group cannot be acquired by that name .map(|v| v.id) }) .inspect_err(