From 21cc96075ca60bc98a61abe5947bcb17dba43ed5 Mon Sep 17 00:00:00 2001 From: Starman3787 Date: Mon, 18 Nov 2024 21:12:26 +0000 Subject: [PATCH] Commit from GitHub Actions (Export and compile structures) --- dist/src/Client.d.ts | 23 +++++++++++++++++++++++ dist/src/Client.d.ts.map | 2 +- dist/src/rest/endpoints.d.ts | 20 ++++++++++++++++++++ dist/src/rest/endpoints.d.ts.map | 2 +- 4 files changed, 45 insertions(+), 2 deletions(-) diff --git a/dist/src/Client.d.ts b/dist/src/Client.d.ts index 94f5ffae..fd01e960 100644 --- a/dist/src/Client.d.ts +++ b/dist/src/Client.d.ts @@ -237,6 +237,29 @@ declare class Client extends TypedEmitter<{ * @throws {TypeError} */ public registerCommands(commands: Array): Array; + /** + * Fetches the emojis for this client. + * @returns {Array} + * @public + * @method + * @async + */ + public fetchEmojis(): Array; + /** + * Creates an emoji for this client. + * @param {Object} emoji The emoji to create. + * @param {String} emoji.name The name of the emoji. + * @param {String} emoji.image The image of the emoji (base64, should start with "data:image/png;base64,"). + * @returns {Promise} + * @public + * @method + * @async + * @throws {TypeError} + */ + public createEmoji({ name, image }: { + name: string; + image: string; + }): Promise; /** * Sets the bot's status across all shards. * @param {Object} status Status options. diff --git a/dist/src/Client.d.ts.map b/dist/src/Client.d.ts.map index b85b35d3..5809f4d3 100644 --- a/dist/src/Client.d.ts.map +++ b/dist/src/Client.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../src/Client.js"],"names":[],"mappings":";AA+BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH;WAtDa,CAAC,WAAW,EAAE,QAAQ,KAAK,IAAI;aAC7B,MAAM,IAAI;iBACN,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;iBACtB,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;iBACtB,CAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,E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M,KACxD,cAAiB;;IAsChB;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,4RAvBW,UAAO,EAqLjB;IAzBC;;;OAGG;IACH,MAFU,IAAI,OAAC,CAEC;IAuBlB;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,2CAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,8BAFa,IAAI,CAIhB;IAED;;;;;OAKG;IACH,eAFa,IAAI,CAIhB;IAED;;;;;OAKG;IACH,2BAoBC;IAED;;;;;;;OAOG;IACH,oDAJa,IAAI,CAmChB;IAED;;;;;OAKG;IACH,6BA8CC;IAED;;;;;OAKG;IACH,uDAEC;IAED;;;;;OAKG;IACH,mEAEC;IAED;;;;;OAKG;IACH,gCAQC;IAED;;;;;OAKG;IACH,sBAJa,KAAK,KAAQ,CAMzB;IAED;;;;;;;;;;OAUG;IACH,kCATW,KAAK,CAAC,OAAO,CAAC,GACZ,KAAK,KAAQ,CAsBzB;IAED;;;;;;;;;;;;OAYG;IACH,sDAVG;QAAuB,IAAI;QACJ,IAAI;QACJ,MAAM;QACL,GAAG;QACJ,KAAK;KAC5B,GAAU,IAAI,CAkBhB;IAED;;;;;;;OAOG;IACH,6BALa,IAAI,CA+EhB;IApEC,8BAA0D;;CAqE7D;kBAzoBiB,uBAAuB;iBACxB,sBAAsB;6BAZV,oBAAoB;wBASzB,2BAA2B;yBAC1B,4BAA4B;8BAIvB,iCAAiC;8BACjC,iCAAiC;oBAC3C,kCAAkC;iCAdrB,gCAAgC"} \ No newline at end of file +{"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../src/Client.js"],"names":[],"mappings":";AA+BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH;WAtDa,CAAC,WAAW,EAAE,QAAQ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,sBAAsB;6BAZV,oBAAoB;wBASzB,2BAA2B;yBAC1B,4BAA4B;8BAIvB,iCAAiC;8BACjC,iCAAiC;oBAC3C,kCAAkC;iCAdrB,gCAAgC"} \ No newline at end of file diff --git a/dist/src/rest/endpoints.d.ts b/dist/src/rest/endpoints.d.ts index b3805cce..87d0390f 100644 --- a/dist/src/rest/endpoints.d.ts +++ b/dist/src/rest/endpoints.d.ts @@ -380,6 +380,26 @@ declare namespace _default { export function mockResponse_36({ params }?: {}): any; export { mockResponse_36 as mockResponse }; } + namespace getClientEmojis { + export function path_37(client_id: any): string; + export { path_37 as path }; + let method_37: string; + export { method_37 as method }; + let majorParams_37: number[]; + export { majorParams_37 as majorParams }; + export function mockResponse_37({ params }?: {}): any; + export { mockResponse_37 as mockResponse }; + } + namespace postAddClientEmoji { + export function path_38(client_id: any): string; + export { path_38 as path }; + let method_38: string; + export { method_38 as method }; + let majorParams_38: number[]; + export { majorParams_38 as majorParams }; + export function mockResponse_38({ params }?: {}): any; + export { mockResponse_38 as mockResponse }; + } } export default _default; //# sourceMappingURL=endpoints.d.ts.map \ No newline at end of file diff --git a/dist/src/rest/endpoints.d.ts.map b/dist/src/rest/endpoints.d.ts.map index fc711a87..028cc8d0 100644 --- a/dist/src/rest/endpoints.d.ts.map +++ b/dist/src/rest/endpoints.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/rest/endpoints.js"],"names":[],"mappings":";;QAWU,wBAEL;;;QAGa,4CAWb;;;QAGK,gDAEL;;;;;;QAGa,uEAIb;;;;QAGK,iEAEL;;;;;;QAGa,uEAIb;;;;QAGK,4DAEL;;;;;;;QAIa,qDAEb;;;;QAGK,8CAEL;;;;;;QAGa,qDAEb;;;;QAGK,gDAEL;;;;;;QAGa,qDAEb;;;;QAGK,iEAEL;;;;;;QAGa,qDAEb;;;;QAGK,8CAEL;;;;;;QAGa,qDAEb;;;;QAGK,4EAEL;;;;;;QAGa,qDAEb;;;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