Skip to content

Commit

Permalink
feat: invite reminder system message type and flag (#105)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
advaith1 and github-actions[bot] committed Apr 8, 2021
1 parent 6cd7542 commit b90714f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions deno/v8/payloads/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ export enum MessageType {
GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING,
REPLY = 19,
APPLICATION_COMMAND,
GUILD_INVITE_REMINDER = 22,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions deno/v8/payloads/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,10 @@ export enum GuildSystemChannelFlags {
* Suppress server boost notifications
*/
SUPPRESS_PREMIUM_SUBSCRIPTIONS = 1 << 1,
/**
* Suppress server setup tips
*/
SUPPRESS_GUILD_REMINDER_NOTIFICATIONS = 1 << 2,
}

/**
Expand Down
1 change: 1 addition & 0 deletions v8/payloads/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ export const enum MessageType {
GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING,
REPLY = 19,
APPLICATION_COMMAND,
GUILD_INVITE_REMINDER = 22,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions v8/payloads/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,10 @@ export const enum GuildSystemChannelFlags {
* Suppress server boost notifications
*/
SUPPRESS_PREMIUM_SUBSCRIPTIONS = 1 << 1,
/**
* Suppress server setup tips
*/
SUPPRESS_GUILD_REMINDER_NOTIFICATIONS = 1 << 2,
}

/**
Expand Down

0 comments on commit b90714f

Please sign in to comment.