aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/other
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-27 14:45:41 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-27 14:45:41 -0400
commitbf9c58c3d658327d2f97a0975d8cb5ae0a4db723 (patch)
tree583325c0551878ccb7135b1493303fd07a3a89c9 /src/listeners/other
parente9b7628a7429a013f5dcf3db5fdfb0d087c0cd81 (diff)
downloadtanzanite-bf9c58c3d658327d2f97a0975d8cb5ae0a4db723.tar.gz
tanzanite-bf9c58c3d658327d2f97a0975d8cb5ae0a4db723.tar.bz2
tanzanite-bf9c58c3d658327d2f97a0975d8cb5ae0a4db723.zip
consistency and more work on settings command
Diffstat (limited to 'src/listeners/other')
-rw-r--r--src/listeners/other/promiseRejection.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/other/promiseRejection.ts b/src/listeners/other/promiseRejection.ts
index ea6f9d1..d60c9c7 100644
--- a/src/listeners/other/promiseRejection.ts
+++ b/src/listeners/other/promiseRejection.ts
@@ -11,7 +11,7 @@ export default class PromiseRejectionListener extends BushListener {
public override async exec(error: Error): Promise<void> {
// eslint-disable-next-line @typescript-eslint/no-base-to-string
- void client.console.error('PromiseRejection', `An unhanded promise rejection occurred:\n${error?.stack ?? error}`, false);
+ void client.console.error('promiseRejection', `An unhanded promise rejection occurred:\n${error?.stack ?? error}`, false);
void client.console.channelError({
embeds: [await CommandErrorListener.generateErrorEmbed({ type: 'unhandledRejection', error: error })]
});