diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sys/events/client.ts | 4 |
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. |
