feat(channel): add spoiler flag (#1725)

This commit is contained in:
Jiralite
2026-07-14 13:43:21 +01:00
committed by GitHub
parent 02620a63db
commit 265d0aed8b
4 changed files with 16 additions and 0 deletions
+4
View File
@@ -726,4 +726,8 @@ export enum ChannelFlags {
* Whether media download options are hidden.
*/
HideMediaDownloadOptions = 1 << 15,
/**
* This channel is a Spoiler Channel i.e. users must opt in to view its contents.
*/
IsSpoilerChannel = 1 << 21,
}
+4
View File
@@ -725,4 +725,8 @@ export enum ChannelFlags {
* Whether media download options are hidden.
*/
HideMediaDownloadOptions = 1 << 15,
/**
* This channel is a Spoiler Channel i.e. users must opt in to view its contents.
*/
IsSpoilerChannel = 1 << 21,
}
+4
View File
@@ -726,4 +726,8 @@ export enum ChannelFlags {
* Whether media download options are hidden.
*/
HideMediaDownloadOptions = 1 << 15,
/**
* This channel is a Spoiler Channel i.e. users must opt in to view its contents.
*/
IsSpoilerChannel = 1 << 21,
}
+4
View File
@@ -725,4 +725,8 @@ export enum ChannelFlags {
* Whether media download options are hidden.
*/
HideMediaDownloadOptions = 1 << 15,
/**
* This channel is a Spoiler Channel i.e. users must opt in to view its contents.
*/
IsSpoilerChannel = 1 << 21,
}