chore(release): v2.8.0

This commit is contained in:
March 7th 2022-10-09 19:45:45 +07:00
parent 5fa5b32e49
commit 1ea40be065
4 changed files with 9 additions and 6 deletions

View File

@ -14,7 +14,7 @@
## About ## About
<strong>Welcome to `discord.js-selfbot-v13@v2.7`, based on `discord.js@13.11`</strong> <strong>Welcome to `discord.js-selfbot-v13@v2.8`, based on `discord.js@13.11`</strong>
- discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9. - discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9.

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "discord.js-selfbot-v13", "name": "discord.js-selfbot-v13",
"version": "2.7.3", "version": "2.8.0",
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]", "description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
"main": "./src/index.js", "main": "./src/index.js",
"types": "./typings/index.d.ts", "types": "./typings/index.d.ts",

9
typings/index.d.ts vendored
View File

@ -3909,7 +3909,7 @@ export class InteractionManager extends CachedManager<Snowflake, Message, Messag
} }
export class InteractionResponse extends Base { export class InteractionResponse extends Base {
private constructor(client: Client, data: Object); private constructor(client: Client, data: object);
public readonly channel: GuildTextBasedChannel | TextBasedChannel; public readonly channel: GuildTextBasedChannel | TextBasedChannel;
public channelId: Snowflake; public channelId: Snowflake;
public readonly createdAt: Date; public readonly createdAt: Date;
@ -3918,7 +3918,7 @@ export class InteractionResponse extends Base {
public readonly guild: Snowflake | null; public readonly guild: Snowflake | null;
public id: Snowflake; public id: Snowflake;
public nonce: Snowflake; public nonce: Snowflake;
public sendData: Object; public sendData: object;
public awaitModal(time?: number): Modal; public awaitModal(time?: number): Modal;
} }
@ -6638,7 +6638,10 @@ export type AnyChannel =
| VoiceChannel | VoiceChannel
| ForumChannel; | ForumChannel;
export type TextBasedChannel = Exclude<Extract<AnyChannel, { messages: MessageManager, interactions: InteractionManager }>, ForumChannel>; export type TextBasedChannel = Exclude<
Extract<AnyChannel, { messages: MessageManager; interactions: InteractionManager }>,
ForumChannel
>;
export type TextBasedChannelTypes = TextBasedChannel['type']; export type TextBasedChannelTypes = TextBasedChannel['type'];