Skip to content

Commit

Permalink
chore(release): v2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aiko-chan-ai committed Oct 9, 2022
1 parent 5fa5b32 commit 1ea40be
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

## About

<strong>Welcome to `discord.js-selfbot-v13@v2.7`, based on `[email protected]`</strong>
<strong>Welcome to `discord.js-selfbot-v13@v2.8`, based on `[email protected]`</strong>

- discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9.

Expand Down
2 changes: 1 addition & 1 deletion docs/main.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"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]",
"main": "./src/index.js",
"types": "./typings/index.d.ts",
Expand Down
9 changes: 6 additions & 3 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3909,7 +3909,7 @@ export class InteractionManager extends CachedManager<Snowflake, Message, Messag
}

export class InteractionResponse extends Base {
private constructor(client: Client, data: Object);
private constructor(client: Client, data: object);
public readonly channel: GuildTextBasedChannel | TextBasedChannel;
public channelId: Snowflake;
public readonly createdAt: Date;
Expand All @@ -3918,7 +3918,7 @@ export class InteractionResponse extends Base {
public readonly guild: Snowflake | null;
public id: Snowflake;
public nonce: Snowflake;
public sendData: Object;
public sendData: object;
public awaitModal(time?: number): Modal;
}

Expand Down Expand Up @@ -6638,7 +6638,10 @@ export type AnyChannel =
| VoiceChannel
| 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'];

Expand Down

0 comments on commit 1ea40be

Please sign in to comment.