diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-04-25 22:10:27 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-04-25 22:10:27 -0400 |
commit | 3592f36f101c6c9a6388d14480c086cea0af64df (patch) | |
tree | 35e9d9df7319f945c214d2099e522cbee889cfec | |
parent | 7264e7e2c9f9d55009dd40efc4e9aca418a7f137 (diff) | |
download | tanzanite-3592f36f101c6c9a6388d14480c086cea0af64df.tar.gz tanzanite-3592f36f101c6c9a6388d14480c086cea0af64df.tar.bz2 tanzanite-3592f36f101c6c9a6388d14480c086cea0af64df.zip |
fix: modifyStart & modifyRetry
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClient.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts index 4f0c6b0..5618903 100644 --- a/src/lib/extensions/discord-akairo/BushClient.ts +++ b/src/lib/extensions/discord-akairo/BushClient.ts @@ -262,8 +262,8 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re prompt: { start: 'Placeholder argument prompt. **If you see this please tell my developers**.', retry: 'Placeholder failed argument prompt. **If you see this please tell my developers**.', - modifyStart: modify, - modifyRetry: modify, + modifyStart: (message, text, data) => modify(message, text, data), + modifyRetry: (message, text, data) => modify(message, text, data), timeout: ':hourglass: You took too long the command has been cancelled.', ended: 'You exceeded the maximum amount of tries the command has been cancelled', cancel: 'The command has been cancelled', |