From 7158004bcccefc17163a43defc90c16d4a5c58d0 Mon Sep 17 00:00:00 2001 From: Carter Himmel Date: Thu, 17 Aug 2023 16:53:55 -0600 Subject: [PATCH] fix: add hexil role to user --- chuckle-interactions/src/commands/hexil.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chuckle-interactions/src/commands/hexil.rs b/chuckle-interactions/src/commands/hexil.rs index 8a9e99a..8e05d64 100644 --- a/chuckle-interactions/src/commands/hexil.rs +++ b/chuckle-interactions/src/commands/hexil.rs @@ -75,6 +75,11 @@ pub async fn hexil( ) .execute(&ctx.data.db) .await?; + + // add role to user + ctx.http_client() + .add_guild_member_role(guild_id, user.id, role.id) + .await?; } text_response(