summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-05 03:55:08 +0400
committerMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-05 03:55:08 +0400
commit199f1c84babd3879b4c78c38efd45d3a2376a8b0 (patch)
tree35ff29ccfcc08ad9d353bc70e284c6f694449fba
parent3693ebdadd785e99658331eeb195f06461da594c (diff)
typo
-rw-r--r--src/sys/events/client.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/events/client.ts b/src/sys/events/client.ts
index 44de1f9..bad8203 100644
--- a/src/sys/events/client.ts
+++ b/src/sys/events/client.ts
@@ -11,7 +11,7 @@ import {API} from '@discordjs/core';
import {Transport, type TransportOptions} from './transport';
/**
- * Maps an event name (O['t']) and a Union O and extracts alla the union members that have a matching O['t']
+ * Maps an event name (O['t']) and a Union O and extracts all the union members that have a matching O['t']
* Example:
* type Variant1 = { t: 'type1', myProperty: 1 };
* type Variant2 = { t: 'type2', anotherProperty: 2 };
@@ -132,7 +132,7 @@ export class Client extends undefinedClient {
return self[symbol as string];
},
});
-
+
this.transport = new Transport(self, options.transport);
// This is safe because this event is emitted by the EventEmitter itself.