Skip to content

Commit 5a967be

Browse files
authored
feat: add CHANNEL_OBFUSCATED channel flag (#265)
Ref: discord/discord-api-docs@8466405
1 parent 7283fc0 commit 5a967be

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,6 +2610,7 @@ declare namespace Dysnomia {
26102610
PINNED: 2;
26112611
REQUIRE_TAG: 16;
26122612
HIDE_MEDIA_DOWNLOAD_OPTIONS: 32768;
2613+
CHANNEL_OBFUSCATED: 131072;
26132614
IS_SPOILER_CHANNEL: 2097152;
26142615
};
26152616
ComponentTypes: {

lib/Constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ module.exports.ChannelFlags = {
222222
PINNED: 1 << 1,
223223
REQUIRE_TAG: 1 << 4,
224224
HIDE_MEDIA_DOWNLOAD_OPTIONS: 1 << 15,
225+
CHANNEL_OBFUSCATED: 1 << 17,
225226
IS_SPOILER_CHANNEL: 1 << 21
226227
};
227228

0 commit comments

Comments
 (0)