Skip to content

Commit

Permalink
feat(MessageTypes): add 16 and 17 (#4685)
Browse files Browse the repository at this point in the history
  • Loading branch information
advaith1 authored Apr 14, 2021
1 parent 0ba2bcb commit c9107e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/util/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ exports.InviteScopes = [
* * CHANNEL_FOLLOW_ADD
* * GUILD_DISCOVERY_DISQUALIFIED
* * GUILD_DISCOVERY_REQUALIFIED
* * GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING
* * GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING
* * REPLY
* @typedef {string} MessageType
*/
Expand All @@ -450,8 +452,8 @@ exports.MessageTypes = [
null,
'GUILD_DISCOVERY_DISQUALIFIED',
'GUILD_DISCOVERY_REQUALIFIED',
null,
null,
'GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING',
'GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING',
null,
'REPLY',
];
Expand Down
2 changes: 2 additions & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3080,6 +3080,8 @@ declare module 'discord.js' {
| 'CHANNEL_FOLLOW_ADD'
| 'GUILD_DISCOVERY_DISQUALIFIED'
| 'GUILD_DISCOVERY_REQUALIFIED'
| 'GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING'
| 'GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING'
| 'REPLY';

interface OverwriteData {
Expand Down

0 comments on commit c9107e3

Please sign in to comment.