Skip to content

Commit

Permalink
Bump discord.js from 13.6.0 to 13.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
utarwyn committed Jun 20, 2022
1 parent 4f2477c commit 65fd72c
Show file tree
Hide file tree
Showing 4 changed files with 751 additions and 1,129 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@
"discord.js": "^13.6.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/jest": "^28.1.2",
"@types/node": "^16.11.24",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^26.1.0",
"jest": "^27.5.1",
"jest": "^28.1.1",
"prettier": "^2.3.0",
"replace-in-file": "^6.3.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.3",
"ts-jest": "^28.0.5",
"typescript": "^4.5.5"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions src/bot/entity/GameBoard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import {
ButtonInteraction,
Collection,
Message,
MessageOptions,
MessageReaction,
Snowflake
Snowflake,
WebhookEditMessageOptions
} from 'discord.js';

/**
Expand Down Expand Up @@ -86,7 +86,7 @@ export default class GameBoard {
/**
* Creates or retrieves message of the gameboard.
*/
public get content(): MessageOptions {
public get content(): WebhookEditMessageOptions {
const builder = this.configuration.gameBoardReactions
? new GameBoardBuilder()
: new GameBoardButtonBuilder();
Expand Down
4 changes: 2 additions & 2 deletions src/bot/messaging/MessagingTunnel.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GuildMember, Message, MessageOptions, TextChannel } from 'discord.js';
import { GuildMember, Message, TextChannel, WebhookEditMessageOptions } from 'discord.js';

/**
* Represents a possible answer
Expand All @@ -7,7 +7,7 @@ import { GuildMember, Message, MessageOptions, TextChannel } from 'discord.js';
* @author Utarwyn
* @since 2.2.0
*/
export type MessagingAnswer = MessageOptions;
export type MessagingAnswer = WebhookEditMessageOptions;

/**
* Represents a messaging tunnel that
Expand Down

0 comments on commit 65fd72c

Please sign in to comment.