MCPcopy Create free account
hub / github.com/MMadmer/EpicAssetsNotifyBot / isThreadChannel

Function isThreadChannel

internal/discord/runtime.go:1584–1588  ·  view source on GitHub ↗
(channelType discordgo.ChannelType)

Source from the content-addressed store, hash-verified

1582}
1583
1584func isThreadChannel(channelType discordgo.ChannelType) bool {
1585 return channelType == discordgo.ChannelTypeGuildPublicThread ||
1586 channelType == discordgo.ChannelTypeGuildPrivateThread ||
1587 channelType == discordgo.ChannelTypeGuildNewsThread
1588}
1589
1590func currentTargetIDs(channel *discordgo.Channel) (*int64, *int64) {
1591 if channel == nil {

Callers 3

handleSetThreadMethod · 0.85
currentTargetIDsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected