diamondburned
dffb6400fe
discord: Add ThreadMetadata.CreateTimestamp field
2024-01-01 16:40:31 -08:00
Scott
d9681ea1d1
state: Use store roles for calculating overrides ( #411 )
...
This commit is breaking. It fixes `CalcOverwrites` which previously relied on
incorrect assumptions.
2023-11-03 15:34:08 -07:00
ayn2op
69981ac3c3
typo: Vietnamses -> Vietnamese
2023-10-10 22:14:05 -07:00
Cléo Rebert
8f548d2607
go fmt + gci
...
Signed-off-by: Cléo Rebert <cleo.rebert@gmail.com>
2023-09-19 11:37:24 -07:00
Cléo Rebert
d36955acea
Move away from github.com/pkg/errors
...
Signed-off-by: Cléo Rebert <cleo.rebert@gmail.com>
2023-09-19 11:37:24 -07:00
ayn2op
356589df17
discord: add missing fields in AuditEntryInfo
2023-09-01 03:52:18 -07:00
ayn2op
c276b445ca
discord: add ReactionCountDetails struct
2023-09-01 02:41:24 -07:00
PlavorSeol
78e456d49e
discord: Fix calculation of default avatar URL ( #398 )
...
* Fix the calculation of a default user avatar index
* run go fmt
2023-07-17 23:01:50 -07:00
diamondburned
4224b93c4e
discord: Add User.DisplayOr{Username,Tag}
2023-06-08 22:45:40 -07:00
sam
13a6bf10cc
discord: Support the new username system ( #393 )
...
* add support for the new username system
* rename User.GlobalName to DisplayName
2023-06-07 17:56:07 -07:00
ayn2op
73986699b7
discord: add missing permissions
...
Reference: https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags
Related: https://github.com/discord/discord-api-docs/pull/6039
2023-06-07 10:14:17 -07:00
diamondburned
61f2ed7363
discord: Use <@x> for member mentions
2023-05-22 06:02:58 -07:00
ayn2op
fea383c61b
discord: move AppFlagAutoModerationRuleCreateBadge outside
2023-04-07 06:07:05 -07:00
ayn2op
6c1928f183
discord: add AppFlagAutoModerationRuleCreateBadge to ApplicationFlags
...
PR: https://github.com/discord/discord-api-docs/pull/6021
Commit: ad723a1732
2023-04-07 06:07:05 -07:00
ayn2op
b8daf636f0
discord: add Channel field to InteractionEvent struct
...
PR: https://github.com/discord/discord-api-docs/pull/6051
Commit: 88a761816b
2023-04-07 02:44:12 -07:00
hi117
abe3d2aa9b
discord: Imporve StringSelectComponent's description ( #386 )
2023-03-15 15:12:58 -07:00
hi117
f4ec5bc80e
discord: Fix reference to deleted SelectComponent ( #387 )
2023-03-15 15:11:46 -07:00
hi117
c2657da488
discord: Add limit for SelectOption.description ( #388 )
2023-03-15 15:11:08 -07:00
sam
c1cc1b8a54
discord: Add the other select interaction data types ( #377 )
2023-02-21 16:28:14 -08:00
ayn2op
759a2eede5
discord: add missing fields to MessageType enum
2023-02-16 08:05:56 -08:00
ayn2op
53c0da7358
discord: add SuppressNotifications to MessageFlags
...
Related: https://github.com/discord/discord-api-docs/pull/5910
2023-02-11 03:31:13 -08:00
diamondburned
00c3ed4b8a
discord: GuildNews -> GuildAnnouncement
2023-01-31 00:13:50 -08:00
ayn2op
0033d02c11
discord: Add missing fields in Channel struct ( #366 )
2023-01-31 00:09:20 -08:00
ayn2op
05dbf0e2b4
discord: Add Flags field to Member struct ( #369 )
...
Reference: https://github.com/discord/discord-api-docs/pull/5874
2023-01-26 13:09:19 -08:00
ayn2op
57dbdbdbd0
discord: Add missing fields to Application ( #365 )
...
* Add missing fields to Application struct
* Change InstallParams.Permissions type to Permissions from string
2023-01-06 14:44:19 +00:00
ayn2op
97c4be4abf
discord: VoiceState.RequestToSpeakTimestamp nullable ( #367 )
2023-01-06 14:43:46 +00:00
ayn2op
dc3453beaa
discord: Add NitroBasic to UserNitro type ( #364 )
2023-01-02 14:46:14 +07:00
ayn2op
7f6871077a
discord: Add AutoModerationActionMessage ( #362 )
2023-01-02 14:28:43 +07:00
ayn2op
f7164d6520
discord: Add Guild.NSFWLevel ( #363 )
2023-01-02 14:25:45 +07:00
Sam Xie
91c86f02ec
discord: Add PermissionViewGuildInsights ( #355 )
2022-11-24 21:04:52 -08:00
twoscott
1b31249626
discord: Add new select components
2022-11-20 20:17:44 -08:00
twoscott
e5aabda660
discord: Add StringOption Min/MaxLength
2022-11-20 20:16:58 -08:00
diamondburned
329ad0f404
discord: Add AutocompleteOptions.Unmarshal
2022-10-13 23:01:29 -07:00
diamondburned
b6221c6426
discord: Use the right type for AutocompleteOption.Options
2022-10-13 23:01:28 -07:00
diamondburned
70a7a3e44f
discord: Add some omitempty for interaction.go
2022-10-13 23:01:28 -07:00
samhza
0c7539c6d5
discord: Add Attachment.Description ( #347 )
2022-09-28 15:22:29 -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
Sam
5870d04644
discord: Add Message.ApplicationID ( #343 )
2022-09-21 10:30:12 -07:00
diamondburned
d96ce0f54c
discord: Add Guild{Directory,Forum}
2022-09-19 14:55:54 -07:00
p5nbTgip0r
88e467ba8c
discord: Fix json tag for Guild.MFA
2022-08-22 14:43:29 -07:00
diamondburned
7961d18278
discord: ContainerComponents.Unmarshal for number types
...
This commit adds int*, uint* and float* parsing support into
ContainerComponents.Unmarshal.
2022-08-20 09:39:24 -07:00
diamondburned
adce55b02d
discord: Add ContainerComponents.Unmarshal
...
This feature is similar to the one added a few commits prior.
2022-08-15 14:57:30 -07:00
diamondburned
10fd739d9e
discord: Type validation for CommandInteractionOptions.Unmarshal
2022-08-15 00:13:12 -07:00
diamondburned
47c06557c2
discord: Add CommandInteractionOptions.Unmarshal
...
This commit adds an Unmarshal method into CommandInteractionOptions. It
is probably the first commit to break the rule of keeping package
discord simple.
The goal of this rationale is that package discord should continue
prioritizing convenience and ease of use by providing small, helpful
additions without being oversized.
This method, while it uses reflect, is actually fairly small in
implementation. Its functionality should be kept to a bare minimum and
as such will not cover every single use case (but should cover most).
2022-08-14 23:40:06 -07:00
diamondburned
6bf83a4747
discord: Document *TextInputComponent in Component, ContainerComponents
2022-08-14 21:48:37 -07:00
diamondburned
0321b9247f
discord: Document *ModalInteraction in InteractionData
2022-08-14 21:45:47 -07:00
twoscott
2013da8255
discord: Add Invite.URL() methods
2022-07-22 15:35:49 -07:00
twoscott
fb2032d538
discord: name Member guild ID params appropriately
2022-07-20 00:07:55 -07:00
twoscott
c84e7f6712
discord: Fix TextInputComponent min & max fields
2022-07-15 20:36:38 -07:00