discordmuffin/examples
Fedor Lapshin 992358e106
Threads reloaded (#1058)
* feat(endpoints): bumped discord version to 9

* feat: threads barebones

* feat(threads): documentation

* feat(threads): membership caching

* feat(threads): added type to StartThread method

* fix: replaced missing Timestamp definitions with time.Time

* chore: removed debug logs

* chore: removed thread alias for channel type

* feat(webhooks): separated thread option into method

* fix(state): ThreadMembersUpdate member duplication bug

* fix: golint

* feat(threads): pr fixes and BeforeUpdate in ThreadUpdate

* feat: removed unnecessary todo

* feat(state): removed thread last message update in MessageAdd

* Revert "feat(state): removed thread last message update in MessageAdd"

This reverts commit 4ca359fd2cc304e5d0ec2937e25c0c487a1f2096.

* feat(state): update only last message id for thread update

Implements updating message id in MESSAGE_CREATE and MESSAGE_DELETE events. Refer to https://discord.com/developers/docs/topics/gateway#thread-update for more info.

* fix(restapi): passing threadID in WebhookThreadExecute

* feat(state): dropped last_message_id updates for threads

* fix: gofmt

* feat(events#ThreadCreate): added newly_created field

* feat(restapi)!: corrected names of thread functions
2022-02-17 22:50:42 +03:00
..
airhorn Switch example to use UpdateGameStatus 2021-01-20 19:33:43 -05:00
autocomplete fix(examples): signal.Notify unbuffered channel 2022-02-16 16:47:30 +03:00
avatar fix(examples/avatar): parameters for UserUpdate 2022-02-16 16:32:48 +03:00
components Selects component (#954) 2021-08-08 20:16:07 -04:00
context_menus Context menus (#978) 2021-08-18 16:16:46 -04:00
dm_pingpong Add ping pong example for direct messages (#882) 2021-05-14 22:34:46 -04:00
modals fix(components): renamed TextInputStyleType to TextInputStyle and fixed example 2022-02-09 14:12:31 +03:00
pingpong Remove support for optional intents 2021-01-20 18:18:34 -05:00
slash_commands fix(examples): signal.Notify unbuffered channel 2022-02-16 16:47:30 +03:00
threads Threads reloaded (#1058) 2022-02-17 22:50:42 +03:00
voice_receive Remove support for optional intents 2021-01-20 18:18:34 -05: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.