discord-slim
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -93,2 +93,3 @@ /// <reference types="node" /> | ||
tts?: string; | ||
embeds?: types.Embed[]; | ||
embed?: types.Embed; | ||
@@ -103,2 +104,3 @@ allowed_mentions?: types.AllowedMentions; | ||
content?: string; | ||
embeds?: types.Embed[]; | ||
embed?: types.Embed; | ||
@@ -105,0 +107,0 @@ flags?: helpers.MessageFlags; |
@@ -23,3 +23,3 @@ "use strict"; | ||
FollowNews: (channel_id, params, requestOptions) => request_1.Request("POST", "/channels/" + channel_id + "/followers", requestOptions ?? defaultRequestOptions, params), | ||
TriggerTypingIndicator: (channel_id, requestOptions) => request_1.Request("POST", "/channels/" + channel_id + "/followers", requestOptions ?? defaultRequestOptions), | ||
TriggerTypingIndicator: (channel_id, requestOptions) => request_1.Request("POST", "/channels/" + channel_id + "/typing", requestOptions ?? defaultRequestOptions), | ||
GetPinnedMessages: (channel_id, requestOptions) => request_1.Request("GET", "/channels/" + channel_id + "/pins", requestOptions ?? defaultRequestOptions), | ||
@@ -26,0 +26,0 @@ GetWebhooks: (channel_id, requestOptions) => request_1.Request("GET", "/channels/" + channel_id + "/webhooks", requestOptions ?? defaultRequestOptions), |
@@ -208,4 +208,4 @@ import type * as helpers from './helpers'; | ||
export declare type ThreadMember = { | ||
id: string; | ||
user_id: string; | ||
id?: string; | ||
user_id?: string; | ||
join_timestamp: string; | ||
@@ -212,0 +212,0 @@ flags: number; |
{ | ||
"name": "discord-slim", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Lightweight Discord API library for Node.js.", | ||
@@ -5,0 +5,0 @@ "author": "Hanabishi", |
164178
3362
3