forked from pothtonswer/discordmuffin
Add types to untyped constants
This commit is contained in:
parent
c78bd2c24c
commit
cab170c8f5
1 changed files with 2 additions and 2 deletions
|
@ -307,7 +307,7 @@ type MessageActivityType int
|
||||||
|
|
||||||
// Constants for the different types of Message Activity
|
// Constants for the different types of Message Activity
|
||||||
const (
|
const (
|
||||||
MessageActivityTypeJoin = iota + 1
|
MessageActivityTypeJoin MessageActivityType = iota + 1
|
||||||
MessageActivityTypeSpectate
|
MessageActivityTypeSpectate
|
||||||
MessageActivityTypeListen
|
MessageActivityTypeListen
|
||||||
MessageActivityTypeJoinRequest
|
MessageActivityTypeJoinRequest
|
||||||
|
@ -319,7 +319,7 @@ type MessageFlag int
|
||||||
// Constants for the different bit offsets of Message Flags
|
// Constants for the different bit offsets of Message Flags
|
||||||
const (
|
const (
|
||||||
// This message has been published to subscribed channels (via Channel Following)
|
// This message has been published to subscribed channels (via Channel Following)
|
||||||
MessageFlagCrossposted = 1 << iota
|
MessageFlagCrossposted MessageFlag = 1 << iota
|
||||||
// This message originated from a message in another channel (via Channel Following)
|
// This message originated from a message in another channel (via Channel Following)
|
||||||
MessageFlagIsCrosspost
|
MessageFlagIsCrosspost
|
||||||
// Do not include any embeds when serializing this message
|
// Do not include any embeds when serializing this message
|
||||||
|
|
Loading…
Reference in a new issue