types(gateway): make since nullable

This commit is contained in:
ayntee
2021-03-27 11:24:47 +04:00
parent 7a04f99fd3
commit 68c0aa4877
+1 -1
View File
@@ -166,7 +166,7 @@ export interface DiscordUpdateVoiceState {
/** https://discord.com/developers/docs/topics/gateway#update-status */
export interface DiscordUpdateStatus {
/** Unix time (in milliseconds) of when the client went idle, or null if the client is not idle */
since?: number;
since: number | null;
/** null, or the user's activities */
activities: DiscordActivity[] | null;
/** The user's new status */