From: MatthieuCoder Date: Wed, 4 Jan 2023 23:55:08 +0000 (+0400) Subject: typo X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=199f1c84babd3879b4c78c38efd45d3a2376a8b0;p=matthieu%2Fgru.git typo --- 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.