From 515021a295cc883e44e85b60fd5dc0c4961f0079 Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Wed, 9 Jul 2025 14:41:43 -0400 Subject: [PATCH] only add prefix to rolls that need it --- src/commands/roll.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/roll.ts b/src/commands/roll.ts index 3063fd8..ef69d3c 100644 --- a/src/commands/roll.ts +++ b/src/commands/roll.ts @@ -40,7 +40,7 @@ export const roll = async (message: DiscordenoMessage, args: string[], command: // Rest of this command is in a try-catch to protect all sends/edits from erroring out try { - const originalCommand = `${config.prefix}${command}${command.length === 0 ? args.join('').trim() : args.join('')}`; + const originalCommand = `${command ? config.prefix : ''}${command}${command.length === 0 ? args.join('').trim() : args.join('')}`; const m = await message.reply(rollingEmbed);