1
0
Fork 0
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:
diamondburned 2023-01-31 00:13:50 -08:00
parent 0033d02c11
commit 00c3ed4b8a
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -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.