From 30ae38ab72cde3f4efbf4a4085aa39f6768540eb Mon Sep 17 00:00:00 2001 From: Techbot121 Date: Thu, 21 Mar 2024 21:23:34 +0100 Subject: [PATCH] add missing return --- app/services/discord/modules/commands/Role.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/services/discord/modules/commands/Role.ts b/app/services/discord/modules/commands/Role.ts index ea59437b..136e84ad 100644 --- a/app/services/discord/modules/commands/Role.ts +++ b/app/services/discord/modules/commands/Role.ts @@ -110,6 +110,7 @@ const addEmoji = async ( } await role.setIcon(emoji); await ctx.followUp(EphemeralResponse(`Set your role emoji to ${emoji}`)); + return; } await ctx.followUp(EphemeralResponse("that doesn't seem to be a vaild emoji 🤔")); };