mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
media channel icon
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
c5704131ce
commit
1e66f235b2
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,8 @@ const PRIVATE_THREAD_ICON =
|
|||
const FORUM_CHANNEL_ICON =
|
||||
"https://cdn.discordapp.com/attachments/740650744830623756/1091681253364875294/forum-channel-icon.png";
|
||||
|
||||
const MEDIA_CHANNEL_ICON = "https://cdn.discordapp.com/attachments/876134205229252658/1178335624940490792/media.png";
|
||||
|
||||
export async function getChannelInfoEmbed(
|
||||
pluginData: GuildPluginData<UtilityPluginType>,
|
||||
channelId: string,
|
||||
|
@ -42,6 +44,7 @@ export async function getChannelInfoEmbed(
|
|||
[ChannelType.PrivateThread]: PRIVATE_THREAD_ICON,
|
||||
[ChannelType.AnnouncementThread]: PUBLIC_THREAD_ICON,
|
||||
[ChannelType.GuildForum]: FORUM_CHANNEL_ICON,
|
||||
[ChannelType.GuildMedia]: MEDIA_CHANNEL_ICON,
|
||||
}[channel.type] ?? TEXT_CHANNEL_ICON;
|
||||
|
||||
const channelType =
|
||||
|
|
Loading…
Add table
Reference in a new issue