diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-05 19:33:57 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-05 19:33:57 -0400 |
commit | 3196d2517a0a36bf3049728690ca0f771a1c4777 (patch) | |
tree | e31198da01e76e99f0bde9cd1545438623d1d6ba /src/lib | |
parent | 667e0f3f3e1288197926c98bd7c6680adcb2ed6e (diff) | |
download | tanzanite-3196d2517a0a36bf3049728690ca0f771a1c4777.tar.gz tanzanite-3196d2517a0a36bf3049728690ca0f771a1c4777.tar.bz2 tanzanite-3196d2517a0a36bf3049728690ca0f771a1c4777.zip |
actually use the correct function
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClientUtil.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts index aa35edb..6ef34dd 100644 --- a/src/lib/extensions/discord-akairo/BushClientUtil.ts +++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts @@ -463,8 +463,8 @@ export class BushClientUtil extends ClientUtil { const code2 = hasteOut ? code.substring(0, length - (hasteOut.length + '\n'.length + formattingLength)) : code; const code3 = tildes + language + '\n' + code2 + '\n' + tildes + (hasteOut.length ? '\n' + hasteOut : ''); if (code3.length > length) { - void console.warn(`codeblockError`, `Required Length: ${length}. Actual Length: ${code3.length}`); - void console.warn(`codeblockError`, code3); + void client.console.warn(`codeblockError`, `Required Length: ${length}. Actual Length: ${code3.length}`, true); + void client.console.warn(`codeblockError`, code3, true); throw new Error('I fucked up'); } return code3; |