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