diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-09 22:29:09 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-09 22:29:09 -0500 |
commit | 05b8447da7aaae2c43c5efd73abf16a17cacbfb3 (patch) | |
tree | a53f5093b16f9d338359d368aaae36dcfb0c5b62 /src | |
parent | 523528874cba7d8b1837cda74fab6e089d57c33c (diff) | |
download | tanzanite-05b8447da7aaae2c43c5efd73abf16a17cacbfb3.tar.gz tanzanite-05b8447da7aaae2c43c5efd73abf16a17cacbfb3.tar.bz2 tanzanite-05b8447da7aaae2c43c5efd73abf16a17cacbfb3.zip |
feat(codeblock): add language to haste url
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClientUtil.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts index 5ffed75..c4a5e79 100644 --- a/src/lib/extensions/discord-akairo/BushClientUtil.ts +++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts @@ -232,7 +232,7 @@ export class BushClientUtil extends ClientUtil { const haste = await this.haste(code, substr); hasteOut = `Too large to display. ${ haste.url - ? `Hastebin: ${haste.url}${haste.error ? ` - ${haste.error}` : ''}` + ? `Hastebin: ${haste.url}${language ? `.${language}` : ''}${haste.error ? ` - ${haste.error}` : ''}` : `${this.emojis.error} Hastebin: ${haste.error}` }`; } |