1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 10:43:30 +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 // GuildCategory is an organizational category that contains up to 50
// channels. // channels.
GuildCategory GuildCategory
// GuildNews is a channel that users can follow and crosspost into their // GuildAnnouncement is a channel that users can follow and crosspost into
// own server. // their own server.
GuildNews GuildAnnouncement
// GuildStore is a channel in which game developers can sell their game on // GuildStore is a channel in which game developers can sell their game on
// Discord. // Discord.
GuildStore GuildStore
_ _
_ _
_ _
// GuildNewsThread is a temporary sub-channel within a GUILD_NEWS channel // GuildAnnouncementThread is a temporary sub-channel within a GUILD_NEWS channel
GuildNewsThread GuildAnnouncementThread
// GuildPublicThread is a temporary sub-channel within a GUILD_TEXT // GuildPublicThread is a temporary sub-channel within a GUILD_TEXT
// channel. // channel.
GuildPublicThread GuildPublicThread
@ -223,6 +223,16 @@ const (
GuildForum 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 // https://discord.com/developers/docs/resources/channel#overwrite-object
type Overwrite struct { type Overwrite struct {
// ID is the role or user id. // ID is the role or user id.