mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-10 12:37:19 +00:00
fix channel count?
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
174fe68e22
commit
62ba356708
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ export async function getServerInfoEmbed(
|
|||
(channel) => channel.type === ChannelType.GuildAnnouncement,
|
||||
);
|
||||
const stageChannels = thisServer.channels.cache.filter((channel) => channel.type === ChannelType.GuildStageVoice);
|
||||
const totalChannels = thisServer.channels.cache.size - threadChannels.size;
|
||||
const totalChannels = thisServer.channels.cache.filter((channel) => !channel.isThread()).size;
|
||||
|
||||
embed.fields.push({
|
||||
name: preEmbedPadding + "Channels",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue