aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/extensions/discord-akairo/BushClient.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts
index 6516161..1e6418c 100644
--- a/src/lib/extensions/discord-akairo/BushClient.ts
+++ b/src/lib/extensions/discord-akairo/BushClient.ts
@@ -238,7 +238,7 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re
const modify: PromptContentModifier = async (message, text, data) => {
const ending = '\n\n Type **cancel** to cancel the command';
const options = typeof text === 'function' ? await text(message, data) : text;
- if (typeof options === 'string') return text + ending;
+ if (typeof options === 'string') return options + ending;
if (options instanceof MessagePayload) {
if (options.options.content) options.options.content += ending;
} else options.content += ending;