discordmuffin/examples
Fedor Lapshin b8188269f9
Auto populated select menus (#1269)
* feat(components): auto-populated selects

* Add component types for user, channel, role and mentionable selects
* Add MenuType field to SelectMenu for customization of select type
* Add basic example for auto-populated selects

* feat: implement SelectMenuType to restrict component types

Implement SelectMenuType to restrict component types that can be used
in MenuType field of SelectMenu structure.

* fix(SelectMenu): default type

Default to SelectMenuComponent type when MenuType is not specified.

* feat(examples/components): add ephemeral

Add ephemeral flag into response to match other component examples.

* feat(examples): option response and refactoring

* Add a response to the selected option.
* Refactor the command to match others.
* Remove showcase of multiple menu types.
2022-12-03 01:40:30 +03:00
..
airhorn removed os.Kill from caught signals in pingpoing, dm_pingpong and airhorn (#1281) 2022-11-23 23:26:25 +03:00
auto_moderation Regex patterns automod rule trigger (#1275) 2022-11-17 00:57:13 +03:00
autocomplete Add README.md to all examples (#1236) 2022-11-09 22:19:23 +03:00
avatar Add README.md to all examples (#1236) 2022-11-09 22:19:23 +03:00
components Auto populated select menus (#1269) 2022-12-03 01:40:30 +03:00
context_menus Add README.md to all examples (#1236) 2022-11-09 22:19:23 +03:00
dm_pingpong removed os.Kill from caught signals in pingpoing, dm_pingpong and airhorn (#1281) 2022-11-23 23:26:25 +03:00
modals Add README.md to all examples (#1236) 2022-11-09 22:19:23 +03:00
pingpong removed os.Kill from caught signals in pingpoing, dm_pingpong and airhorn (#1281) 2022-11-23 23:26:25 +03:00
scheduled_events Add README.md to all examples (#1236) 2022-11-09 22:19:23 +03:00
slash_commands Add README.md to all examples (#1236) 2022-11-09 22:19:23 +03:00
stage_instance Add README.md to all examples (#1236) 2022-11-09 22:19:23 +03:00
threads Add README.md to all examples (#1236) 2022-11-09 22:19:23 +03:00
voice_receive Add README.md to all examples (#1236) 2022-11-09 22:19:23 +03:00
README.md Misc changes to docs (#907) 2021-05-14 22:19:57 -04:00

DiscordGo Examples

These examples demonstrate how to utilize DiscordGo.

Please explore the individual folders and give them a try!

Join Discord Gophers Discord chat channel for support.