File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -303,13 +303,6 @@ declare module 'discord.js' {
303303 public toString ( ) : string ;
304304 }
305305
306- export interface ActivityOptions {
307- name ?: string ;
308- url ?: string ;
309- type ?: ActivityType | number ;
310- shardID ?: number | number [ ] ;
311- }
312-
313306 export class ClientUser extends User {
314307 public mfaEnabled : boolean ;
315308 public verified : boolean ;
@@ -1630,6 +1623,7 @@ declare module 'discord.js' {
16301623 export class WebhookClient extends WebhookMixin ( BaseClient ) {
16311624 constructor ( id : string , token : string , options ?: ClientOptions ) ;
16321625 public token : string ;
1626+ public readonly client : this;
16331627 }
16341628
16351629 export class WebSocketManager extends EventEmitter {
@@ -1923,6 +1917,13 @@ declare module 'discord.js' {
19231917 | 'SYNC'
19241918 | 'PLAY' ;
19251919
1920+ interface ActivityOptions {
1921+ name ?: string ;
1922+ url ?: string ;
1923+ type ?: ActivityType | number ;
1924+ shardID ?: number | number [ ] ;
1925+ }
1926+
19261927 type ActivityType = 'PLAYING'
19271928 | 'STREAMING'
19281929 | 'LISTENING'
You can’t perform that action at this time.
0 commit comments