Skip to content

Commit 51ea1ca

Browse files
committed
Update emoji type for presence
1 parent ce87dd8 commit 51ea1ca

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "detritus-client-socket",
3-
"version": "0.3.5",
3+
"version": "0.3.6",
44
"description": "A TypeScript NodeJS library to interact with Discord's Gateway",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const Package = Object.freeze({
22
URL: 'https://github.com/detritusjs/client-socket',
3-
VERSION: '0.3.5',
3+
VERSION: '0.3.6',
44
});
55

66
function normalize(object: {[key: string]: any}) {

src/gateway.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ export interface PresenceActivity {
10201020
details?: string,
10211021
emoji?: {
10221022
animated: boolean,
1023-
id: string,
1023+
id: null | string,
10241024
name: string,
10251025
},
10261026
flags?: number,

0 commit comments

Comments
 (0)