Samuel Hernandez
3ae45b7816
api: *ArchivedThreadsBefore to *ArchivedThreads, allow empty Limit
2022-10-01 22:02:28 -07:00
diamondburned
219b1d80d6
api: Fix incorrect use of ArchivedThreads
...
This commit fixes the several ArchivedThread API getters to unmarshal to
the right type. Prior to this commit, things don't work.
2022-10-01 19:35:41 -07:00
svenwiltink
fa35b32b79
discord: Add ChannelFlags ( #345 )
...
* added ChannelFlags
* Minor style fixes, comment additions
Co-authored-by: diamondburned <diamond@arikawa-hi.me>
2022-09-23 00:00:04 -07:00
svenwiltink
238a91b2fc
discord: Add Tag for forum ( #344 )
...
* Add Tag and TagID for forum capabilities
* set correct json flags
* Fix up naming and minor fixes
Co-authored-by: diamondburned <diamond@arikawa-hi.me>
2022-09-21 13:17:26 -07:00
diamondburned
30c63e66d1
discord: Ack.Token nullable
2022-04-02 21:55:26 -07:00
diamondburned
a159ba1c52
api: Add RTCRegionID for ModifyChannelData
2022-01-18 21:35:55 -08:00
rigormorrtiss
1e9eb4a473
api: *Client.ActiveThreads returns ActiveThreads struct ( #270 )
...
* v3: api: *Client.ActiveThreads returns ActiveThread struct
* Apply suggestions
2021-08-20 02:27:53 -07:00
rigormorrtiss
b253a5659b
discord: Add Invitable field for threads ( #268 )
2021-08-16 22:37:33 -07:00
Maximilian von Lindern
244570c280
api: Add support for the X-Audit-Log-Reason header ( #259 )
...
* api: add support for the X-Audit-Log-Reason header
* api: inline reason parameter, where data struct has a single field
2021-08-15 18:33:33 +02:00
Maximilian von Lindern
c00567599b
api: Threads ( #257 )
...
* api/gateway: Implement threads
* discord/api: rename PermissionOverwrites fields to Overwrites
* discord: rename Minutes to ArchiveDuration
* discord: Rename ArchiveDuration constants
Co-authored-by: diamondburned <datutbrus@gmail.com>
2021-08-08 13:19:15 -07:00
Samuel Hernandez
40e1a3757d
*: Migrated Go Modules to v3
2021-06-01 19:59:01 -07:00
Maximilian von Lindern
6f73088e7d
api/discord: Add RTCRegionID and VoiceQuality
2021-05-29 22:07:39 -07:00
Maximilian von Lindern
7785887719
API: Update the Client.CreateChannel docs to mention the recent permission change
2021-05-29 12:40:10 -07:00
diamondburned
75df94d9f4
*: Migrated Go Modules to v2
2020-10-28 15:39:59 -07:00
diamondburned
6183068c4d
Discord: Fixed incorrect OverwriteType string rules
2020-10-28 15:34:14 -07:00
diamondburned
7a757209c2
Discord: Minor changes in Overwrite for v2
...
This commit changes the Overwrite type to omit the old "_new" API and
use the new field names, which are striings-serialized. The
OverwriteType is now also a strings-serialized number.
2020-10-28 14:08:29 -07:00
Maximilian von Lindern
a7e9439109
Discord/API: implement changes to permission, allow and deny fields ( #141 )
2020-08-17 17:10:43 -07:00
Maximilian von Lindern
1585797b52
*: Linting and typo fixes ( #134 )
...
* Linting and typo fixes
* Linting and typo fixes
* revert comma fix
2020-07-29 16:58:33 -07:00
Tadeo Kondrak
d290b0d01c
*: Add typed Snowflake IDs ( #122 )
...
This PR closes #120 .
2020-07-29 16:58:33 -07:00
mavolin
960ba486bd
API: code cleanup
2020-05-24 17:28:04 -07:00
mavolin
a07f343b39
API: fix id field getting sent on EditChannelPermission
2020-05-24 17:28:04 -07:00
mavolin
04a80d33e8
API: add docs, use option types
2020-05-12 03:44:13 +02:00
mavolin
4f4526eb49
API: make CreateChannelData.Type non-pointer
2020-05-11 13:53:25 +02:00
mavolin
b17c32187e
API: implement option and nullable types.
2020-05-11 05:24:59 +02:00
mavolin
a29a521c5a
Utils: add nullable package
2020-05-11 04:30:34 +02:00
mavolin
c642c8f306
Discord: refactor: move json.OptionT to dedicated json/option package
2020-05-11 03:14:30 +02:00
diamondburned (Forefront)
ea27e7c88d
API: MoveChannelData.Position shouldn't have omitempty
2020-05-08 14:32:18 -07:00
diamondburned (Forefront)
3a43e413d8
Utils: Deprecated client-scoped JSON driver
2020-05-07 20:43:46 -07:00
diamondburned (Forefront)
619558ecab
API: Several breaking updates to conform with current documentation
2020-05-07 12:32:56 -07:00
diamondburned (Forefront)
bf93a9cee9
Changed endpoint constants to variables
2020-04-19 09:30:12 -07:00
diamondburned (Forefront)
be12849668
Changed internal/ to utils/, allowing external imports
2020-04-08 19:28:40 -07:00
diamondburned (Forefront)
d5a3a0bd45
API: Changed ModifyChannel to match other Modify channels
2020-04-08 17:57:44 -07:00
diamondburned (Forefront)
bd32b19645
API: Fixed UserRateLimit 0 and omitempty
2020-04-08 17:48:36 -07:00
diamondburned (Forefront)
79c4c1caca
Gateway/State: Added message acking and more user update events for State
2020-02-24 21:50:13 -08:00
diamondburned (Forefront)
7e73f00eb9
Fixed bug where ParseContent interface methods won't return a proper error
2020-01-20 20:25:47 -08:00
diamondburned
127c636310
Moved misc packages to internal
2020-01-15 10:32:54 -08:00
diamondburned (Forefront)
966d14a32f
Nitpicking function signature formatting
2020-01-05 21:32:25 -08:00
diamondburned (Forefront)
d56e3fae0f
Added some more
2020-01-04 23:50:22 -08:00
diamondburned
6b993f2032
Added Permissions and stuff
2020-01-03 20:19:24 -08:00
diamondburned
b77d5f20da
Fixed package header pointing to sourcehut instead of GitHub
2020-01-02 11:55:45 -08:00
diamondburned
e41a2c7c42
Moved Discord structs to package discord
2020-01-02 11:53:08 -08:00
diamondburned
09d9651507
Initial commit
2020-01-01 21:39:52 -08:00