mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-27 09:12:53 +00:00
discord: GuildNews -> GuildAnnouncement
This commit is contained in:
parent
0033d02c11
commit
00c3ed4b8a
|
@ -197,17 +197,17 @@ const (
|
|||
// GuildCategory is an organizational category that contains up to 50
|
||||
// channels.
|
||||
GuildCategory
|
||||
// GuildNews is a channel that users can follow and crosspost into their
|
||||
// own server.
|
||||
GuildNews
|
||||
// GuildAnnouncement is a channel that users can follow and crosspost into
|
||||
// their own server.
|
||||
GuildAnnouncement
|
||||
// GuildStore is a channel in which game developers can sell their game on
|
||||
// Discord.
|
||||
GuildStore
|
||||
_
|
||||
_
|
||||
_
|
||||
// GuildNewsThread is a temporary sub-channel within a GUILD_NEWS channel
|
||||
GuildNewsThread
|
||||
// GuildAnnouncementThread is a temporary sub-channel within a GUILD_NEWS channel
|
||||
GuildAnnouncementThread
|
||||
// GuildPublicThread is a temporary sub-channel within a GUILD_TEXT
|
||||
// channel.
|
||||
GuildPublicThread
|
||||
|
@ -223,6 +223,16 @@ const (
|
|||
GuildForum
|
||||
)
|
||||
|
||||
// GuildNews aliases to GuildAnnouncement.
|
||||
//
|
||||
// Deprecated: use GuildAnnouncement instead.
|
||||
const GuildNews = GuildAnnouncement
|
||||
|
||||
// GuildNewsThread aliases to GuildAnnouncementThread.
|
||||
//
|
||||
// Deprecated: use GuildAnnouncementThread instead.
|
||||
const GuildNewsThread = GuildAnnouncementThread
|
||||
|
||||
// https://discord.com/developers/docs/resources/channel#overwrite-object
|
||||
type Overwrite struct {
|
||||
// ID is the role or user id.
|
||||
|
|
Loading…
Reference in a new issue