Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Commit d47f4ca

Browse files
committed
Discord-Modals v1.3.1: Fix: change discord-api-types enums from �9 to �10.
1 parent a498e82 commit d47f4ca

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
Hello! This is the Change log section of Discord-Modals. Here you can see what things have been changed in the different versions, to be informed. This will be updated every time there are new versions. I hope you enjoy this package :)
44

5-
# v1.3.0 (Stable)
5+
# v1.3.1 (Stable)
6+
- Fix: change `discord-api-types` enums from `v9` to `v10`.
7+
8+
# v1.3.0
69

710
- Fix bug: 'INVALID_CLIENT' error when the Client is valid on `.showModal()` method.
811
- **Featured:** Add `ModalActionRow` class.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "discord-modals",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "Discord-Modals is a package that allows your discord.js v13 and v14 bot to create, and interact with Modals, a new Discord feature.",
55
"main": "index.js",
66
"files": [

src/structures/Interaction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const { Base, Permissions } = require('discord.js');
44
const SnowflakeUtil = require('../util/SnowflakeUtil');
5-
const { InteractionType } = require('discord-api-types/v9');
5+
const { InteractionType } = require('discord-api-types/v10');
66

77
/**
88
* Represents an Interaction.

src/v14/Interaction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const { Base, PermissionsBitField } = require('discord.js');
44
const SnowflakeUtil = require('../util/SnowflakeUtil');
5-
const { InteractionType } = require('discord-api-types/v9');
5+
const { InteractionType } = require('discord-api-types/v10');
66

77
/**
88
* Represents an Interaction.

src/v14/ShowModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { Client, Interaction } = require('discord.js');
22
const { InteractionResponseTypes } = require('../util/Constants');
33
const Modal = require('../structures/Modal');
44
const { Error } = require('../structures/errors');
5-
const { Routes } = require('discord-api-types/v9');
5+
const { Routes } = require('discord-api-types/v10');
66

77
/**
88
* Shows the Modal to the Interaction User.

src/v14/interfaces/InteractionResponses.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { MessagePayload } = require('discord.js');
2-
const { InteractionResponseType, MessageFlags, Routes } = require('discord-api-types/v9');
2+
const { InteractionResponseType, MessageFlags, Routes } = require('discord-api-types/v10');
33
const { Error } = require('../../structures/errors');
44
const Modal = require('../../structures/Modal');
55

0 commit comments

Comments
 (0)