1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-05 06:26:08 +00:00
arikawa/gateway
diamondburned 9899f6073b Bot: Added automatic Intents detection from handlers
This commit adds automatic Intents detection into package bot. When the
Start function is used, the intents will be OR'd after running the
options callback.

This commit also breaks the old "AddIntent" methods to rename them to
"AddIntents" for correctness.
2020-10-28 22:49:18 -07:00
..
commands.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
events.go Gateway: Fixed MessageReactionRemoveEmoji not having Event suffix 2020-10-28 19:31:43 -07:00
events_map.go Gateway: Added missing MessageReactionRemoveEmojiEvent constructor 2020-10-28 19:39:18 -07:00
gateway.go Bot: Added automatic Intents detection from handlers 2020-10-28 22:49:18 -07:00
identify.go Gateway: Added an Event to Intents map for convenience 2020-10-28 19:44:04 -07:00
integration_test.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
intents.go Bot: Added automatic Intents detection from handlers 2020-10-28 22:49:18 -07:00
intents_map.go Gateway: Added an Event to Intents map for convenience 2020-10-28 19:44:04 -07:00
op.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
ready.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
sequence.go Fixed some race conditions 2020-02-02 14:12:54 -08:00
shards.go WIP integration test 2020-01-14 23:34:18 -08:00