mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-13 17:05:42 +00:00
47c06557c2
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). |
||
---|---|---|
.. | ||
application.go | ||
auditlog.go | ||
channel.go | ||
command.go | ||
component.go | ||
discord.go | ||
emoji.go | ||
guild.go | ||
guild_consts.go | ||
interaction.go | ||
interaction_example_test.go | ||
invite.go | ||
message.go | ||
message_embed.go | ||
permission.go | ||
scheduled_events.go | ||
snowflake.go | ||
snowflake_test.go | ||
snowflake_types.go | ||
stage.go | ||
time.go | ||
url.go | ||
user.go | ||
voice.go | ||
webhook.go |