|
1 | 1 | /*
|
2 |
| - * Copyright (c) 2022-2023. Veteran Software |
| 2 | + * Copyright (c) 2022-2024. Veteran Software |
3 | 3 | *
|
4 |
| - * Discord API Wrapper - A custom wrapper for the Discord REST API developed for a proprietary project. |
| 4 | + * Discord API Wrapper - A custom wrapper for the Discord REST API developed for a proprietary project. |
5 | 5 | *
|
6 |
| - * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public |
7 |
| - * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later |
8 |
| - * version. |
| 6 | + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public |
| 7 | + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
9 | 8 | *
|
10 |
| - * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
11 |
| - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
| 9 | + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
12 | 10 | *
|
13 |
| - * You should have received a copy of the GNU General Public License along with this program. |
14 |
| - * If not, see <http://www.gnu.org/licenses/>. |
| 11 | + * You should have received a copy of the GNU General Public License along with this program. |
| 12 | + * If not, see <http://www.gnu.org/licenses/>. |
15 | 13 | */
|
16 | 14 |
|
17 | 15 | package api
|
@@ -67,7 +65,7 @@ type GuildTextChannel struct {
|
67 | 65 | Flags ChannelFlag `json:"flags,omitempty"` // channel flags combined as a bitfield
|
68 | 66 | ParentID *Snowflake `json:"parent_id,omitempty"` // for guild channels: id of the parent category for a channel (each parent category can contain up to 50 channels), for threads: id of the text channel this thread was created
|
69 | 67 | Topic *string `json:"topic,omitempty"` // the channel topic (0-1024 characters)
|
70 |
| - GuildID Snowflake `json:"guild_id,omitempty"` // the id of the guild (may be missing for some channel objects received over gateway guild dispatches) |
| 68 | + GuildID Snowflake `json:"guild_id,omitempty"` // the id of the guild (maybe missing for some channel objects received over gateway guild dispatches) |
71 | 69 | PermissionOverwrites []*Overwrite `json:"permission_overwrites,omitempty"` // explicit permission overwrites for members and roles
|
72 | 70 | LastPinTimestamp *time.Time `json:"last_pin_timestamp,omitempty"` // when the last pinned message was pinned. This may be null in events such as GUILD_CREATE when a message is not pinned.
|
73 | 71 | RateLimitPerUser int64 `json:"rate_limit_per_user,omitempty"` // amount of seconds a user has to wait before sending another Message (0-21600); bots, as well as users with the permission ManageMessages or ManageChannels, are unaffected
|
|
0 commit comments