aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/rest
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-17 20:03:05 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-17 20:03:05 -0400
commite1c613829950a534d9f45c00a033b83575be3b3c (patch)
tree2de1e5231217211ae4087c46cc74dc46c584507a /src/listeners/rest
parent0e87bbd3940d89defcb04926587b35c8f4d1947f (diff)
downloadtanzanite-e1c613829950a534d9f45c00a033b83575be3b3c.tar.gz
tanzanite-e1c613829950a534d9f45c00a033b83575be3b3c.tar.bz2
tanzanite-e1c613829950a534d9f45c00a033b83575be3b3c.zip
remove global client variable
Diffstat (limited to 'src/listeners/rest')
-rw-r--r--src/listeners/rest/rateLimit.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/rest/rateLimit.ts b/src/listeners/rest/rateLimit.ts
index 5878d81..9071416 100644
--- a/src/listeners/rest/rateLimit.ts
+++ b/src/listeners/rest/rateLimit.ts
@@ -11,6 +11,6 @@ export default class RateLimitedListener extends BushListener {
}
public async exec(...[message]: RestEvents['rateLimited']): Promise<void> {
- void client.console.superVerboseRaw('rateLimited', message);
+ void this.client.console.superVerboseRaw('rateLimited', message);
}
}