1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-05 06:26:08 +00:00
arikawa/discord
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
..
application.go discord: Refactor interactions and components 2021-11-12 11:38:36 -08:00
auditlog.go *: Migrated Go Modules to v3 2021-06-01 19:59:01 -07:00
channel.go discord: Refactor interactions and components 2021-11-12 11:38:36 -08:00
command.go discord: Fix comment spacing 2022-07-11 02:47:37 -07:00
component.go discord: Document *TextInputComponent in Component, ContainerComponents 2022-08-14 21:48:37 -07:00
discord.go discord: Add field Proxy into Video 2022-04-08 03:35:20 -07:00
emoji.go discord: Add NewAPIEmoji 2022-06-23 00:11:27 -07:00
guild.go discord: name Member guild ID params appropriately 2022-07-20 00:07:55 -07:00
guild_consts.go api: Threads (#257) 2021-08-08 13:19:15 -07:00
interaction.go discord: Add CommandInteractionOptions.Unmarshal 2022-08-14 23:40:06 -07:00
interaction_example_test.go discord: Add CommandInteractionOptions.Unmarshal 2022-08-14 23:40:06 -07:00
invite.go discord: Add Invite.URL() methods 2022-07-22 15:35:49 -07:00
message.go discord: Add Interaction field to Message 2022-05-24 12:01:01 -07:00
message_embed.go discord: Add field Proxy into Video 2022-04-08 03:35:20 -07:00
permission.go discord: Add permission fields to Command (#326) 2022-05-08 03:33:56 -07:00
scheduled_events.go discord: Support guild Scheduled Events (#319) 2022-04-02 22:36:45 -07:00
snowflake.go discord: Support guild Scheduled Events (#319) 2022-04-02 22:36:45 -07:00
snowflake_test.go Discord: Uint64 typed Snowflakes (#132) 2020-07-29 16:58:33 -07:00
snowflake_types.go discord: Support guild Scheduled Events (#319) 2022-04-02 22:36:45 -07:00
stage.go discord/api: Add StageInstances 2021-05-29 22:17:39 -07:00
time.go discord: Add VoiceState.SelfVideo; fixes #287 2021-10-30 16:43:28 -07:00
url.go Discord: fix typo 2020-05-15 22:13:15 +02:00
user.go discord: Add LikelySpammer 2022-04-17 02:47:48 -07:00
voice.go discord: Add VoiceState.SelfVideo; fixes #287 2021-10-30 16:43:28 -07:00
webhook.go discord: Add missing webhook fields (#250) 2021-08-02 16:14:34 -07:00