Skip to content

Commit a858d53

Browse files
authored
Update copyright years and comments formatting across multiple files (#23)
This commit updates the copyright years from "2023" to "2022-2024". It also adjusts the formatting of the project description and licensing comments in multiple files, including the main application file and several utility and event handling files.
1 parent d67d355 commit a858d53

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+491
-631
lines changed

api/application.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2022-2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api

api/application_commands.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2022-2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api

api/application_commands_endpoints.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2022-2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api

api/application_role_connection_metadata.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api

api/application_role_connection_metadata_endpoints.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api

api/audit_log.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2022-2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api

api/audit_log_endpoints.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2022-2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api

api/auto_moderation.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2022-2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api

api/auto_moderation_endpoints.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api

api/channel.go

+8-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2022-2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api
@@ -67,7 +65,7 @@ type GuildTextChannel struct {
6765
Flags ChannelFlag `json:"flags,omitempty"` // channel flags combined as a bitfield
6866
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
6967
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)
7169
PermissionOverwrites []*Overwrite `json:"permission_overwrites,omitempty"` // explicit permission overwrites for members and roles
7270
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.
7371
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

api/channel_api.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
/*
2-
* Copyright (c) 2022-2023. Veteran Software
2+
* Copyright (c) 2022-2024. Veteran Software
33
*
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.
55
*
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.
98
*
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.
1210
*
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/>.
1513
*/
1614

1715
package api

0 commit comments

Comments
 (0)