aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/client
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-26 20:07:19 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-26 20:07:19 -0400
commited59b7f1827ab93573b079144c3eeaa01ce40492 (patch)
tree7ceac6d61a8a25586ab9bbaf7acfbade91c97132 /src/listeners/client
parentc0a81b014a56e4d44c826f78391a930361aab122 (diff)
downloadtanzanite-ed59b7f1827ab93573b079144c3eeaa01ce40492.tar.gz
tanzanite-ed59b7f1827ab93573b079144c3eeaa01ce40492.tar.bz2
tanzanite-ed59b7f1827ab93573b079144c3eeaa01ce40492.zip
clean up, bug fixes
Diffstat (limited to 'src/listeners/client')
-rw-r--r--src/listeners/client/interactionCreate.ts2
-rw-r--r--src/listeners/client/ready.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/listeners/client/interactionCreate.ts b/src/listeners/client/interactionCreate.ts
index c2d12b2..be6cede 100644
--- a/src/listeners/client/interactionCreate.ts
+++ b/src/listeners/client/interactionCreate.ts
@@ -9,7 +9,7 @@ export default class InteractionCreateListener extends BushListener {
});
}
- public override async exec(...[interaction]: BushClientEvents['interactionCreate']): Promise<unknown> {
+ public override async exec(...[interaction]: BushClientEvents['interactionCreate']) {
if (!interaction) return;
void client.console.verbose(
'interactionVerbose',
diff --git a/src/listeners/client/ready.ts b/src/listeners/client/ready.ts
index 6f98ceb..a6188d1 100644
--- a/src/listeners/client/ready.ts
+++ b/src/listeners/client/ready.ts
@@ -10,7 +10,7 @@ export default class ReadyListener extends BushListener {
});
}
- public override async exec(): Promise<void> {
+ public override async exec() {
process.emit('ready' as any);
const tag = `<<${client.user?.tag}>>`,