Merge pull request #679 from JurrijnP/develop

Add Premium Guild Subscription message types & Add Channel Types.
This commit is contained in:
bwmarrin 2019-08-26 14:50:03 -05:00 committed by GitHub
commit 1d90c5da95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -28,6 +28,11 @@ const (
MessageTypeChannelIconChange MessageTypeChannelIconChange
MessageTypeChannelPinnedMessage MessageTypeChannelPinnedMessage
MessageTypeGuildMemberJoin MessageTypeGuildMemberJoin
MessageTypeUserPremiumGuildSubscription
MessageTypeUserPremiumGuildSubscriptionTierOne
MessageTypeUserPremiumGuildSubscriptionTierTwo
MessageTypeUserPremiumGuildSubscriptionTierThree
MessageTypeChannelFollowAdd
) )
// A Message stores all data related to a specific Discord message. // A Message stores all data related to a specific Discord message.

View file

@ -200,6 +200,8 @@ const (
ChannelTypeGuildVoice ChannelTypeGuildVoice
ChannelTypeGroupDM ChannelTypeGroupDM
ChannelTypeGuildCategory ChannelTypeGuildCategory
ChannelTypeGuildNews
ChannelTypeGuildStore
) )
// A Channel holds all data related to an individual Discord channel. // A Channel holds all data related to an individual Discord channel.