1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-01 04:24:19 +00:00
Commit graph

754 commits

Author SHA1 Message Date
Tadeo Kondrak d290b0d01c *: Add typed Snowflake IDs (#122)
This PR closes #120.
2020-07-29 16:58:33 -07:00
diamondburned 24f7ed0499 Gateway: ReconnectCtx now returns error; fixed test 2020-07-18 18:33:07 -07:00
diamondburned a929817c0f Handler: Fixed data race in test 2020-07-18 18:25:00 -07:00
diamondburned 1c8aaaefcc State: Fixed individual message fetch missing GuildID 2020-07-17 11:35:44 -07:00
diamondburned d18298aca9 Discord: Updated message's URL 2020-07-17 11:33:57 -07:00
diamondburned 35e143a99f Handler: Added blocking send cleanup to avoid goroutine leak 2020-07-15 23:11:20 -07:00
diamondburned 6717f8002c Gateway: Fixed autoreconnect misusing context 2020-07-15 16:39:40 -07:00
diamondburned a1038cb8bb Gateway: Fixed wrong usage of Context in Gateway reconnection 2020-07-15 16:32:53 -07:00
diamondburned 880691c51b Handler: Fixed inconsistency in documentation 2020-07-15 00:48:50 -07:00
diamondburned cb8567f006 Handler: Added examples as comments for documentation 2020-07-15 00:05:35 -07:00
diamondburned 18024526fe Handler: Added support for channel event handlers 2020-07-14 23:57:50 -07:00
diamondburned 9d7f5cb953 Gateway: Deprecated useless type definitions for embedded structs 2020-07-14 21:38:31 -07:00
diamondburned 5b37b2ab0d Gateway: Allow for longer timeouts 2020-07-14 18:47:52 -07:00
diamondburned c1885067d7 Gateway: Allow for more lenient gateway bursts 2020-07-14 18:47:15 -07:00
diamondburned 7572caad31 Discord: Added Relationship API methods; moved structs around 2020-07-14 18:01:24 -07:00
diamondburned 56b1a7cce8 Bot: Help generators now allow generating hidden commands 2020-07-14 16:33:21 -07:00
diamondburned bf7ca8450d API: Fixed Ban panicking 2020-07-11 18:51:01 -07:00
diamondburned 712a061e8e API: Added SetNote for user accounts 2020-07-11 14:27:03 -07:00
diamondburned 91e494ba51 Gateway: Changed Relationship struct for type and name claritifcation 2020-07-11 13:25:29 -07:00
diamondburned edb8a46ef2 Gateway: Added intent helpers and more context API support 2020-07-11 12:50:32 -07:00
diamondburned f33b4ff7d8 wsutil: API changed to support contexts 2020-07-11 12:49:28 -07:00
diamondburned a0785bd657 CI: Increased time limit to account for slow integration tests 2020-07-11 00:06:31 -07:00
diamondburned d3d9811276 Gateway: Added Relationship events and handlers; minor reformatting 2020-07-11 00:02:57 -07:00
diamondburned (Forefront) 16ed406c53 Session: Fixed a panic bug when the gateway fails 2020-06-29 11:00:07 -07:00
diamondburned (Forefront) 01021f0902 Fixed a compile bug 2020-06-19 00:59:44 -07:00
diamondburned (Forefront) 88dd0f8995 State now handles MsgCreate's missing Member.User field, some bug fixes
This addresses discord/discord-api-docs#1440.

State documentation has been added, which documents the store and
handlers as well.

Bug fixes include:

- PreHandler being called after the state handler; it is now called
before as documented.
- Minor behavior changes regarding Guild Create events. Refer to State's
documentation.
2020-06-19 00:33:22 -07:00
Maximilian von Lindern 1373e42fe1
State: fix State.Message not working when the message's channel is not found in the Store (#117)
* State: fix State.Message not working when the message's channel is not found in the Store

* State: fix State.Message not working when the message's channel is not found in the Store
2020-06-08 07:30:16 -07:00
Maximilian von Lindern de3d0e2160
Gateway: Split GuildCreateEvent (#116)
* Session: fix event handler loop not getting properly closed

* Implement #113

* Session: move guild events to state

* Session: close hStop
2020-06-06 13:47:15 -07:00
mavolin 943ca00ae5 State: implement #114 2020-06-06 10:24:34 -07:00
mavolin efd2ce4c03 State: reduce times a go routine is spawned 2020-06-06 10:24:34 -07:00
diamondburned (Forefront) 9ce0620652 Cleaned up go.mod 2020-06-01 13:52:15 -07:00
diamondburned (Forefront) 9747675741 CI: Fixed syntax 2020-05-30 15:22:13 -07:00
diamondburned (Forefront) 77d6067340 CI: Better mutual exclusivity of unit and integration tests 2020-05-30 15:19:51 -07:00
diamondburned (Forefront) 783dfe7ba6 CI: Unit and integration tests are now mutually exclusive 2020-05-30 15:15:32 -07:00
diamondburned (Forefront) f91518f3c6 CI: haha json go brr 2020-05-30 14:45:22 -07:00
diamondburned (Forefront) bafeb1082a CI: Added Dismock, better coverage parsing 2020-05-30 14:32:23 -07:00
ks129 93fbfd98d0 Fix aliases appending
Add 3 dots on appending to merge 2 slices.
2020-05-24 23:08:55 -07:00
ks129 23d97044ec Simplify aliases adding
- Removed duplicates check
- Fixed docstring
2020-05-24 23:08:55 -07:00
ks129 75fe1bd03a Implement command aliases
- Add alias parsing to `Context.findCommand`.
- Add new function to `Subcommand`: `AddAliases` that add new alias(es) to command.
- Added `Aliases` property to `MethodContext`
2020-05-24 23:08:55 -07:00
mavolin 960ba486bd API: code cleanup 2020-05-24 17:28:04 -07:00
mavolin a07f343b39 API: fix id field getting sent on EditChannelPermission 2020-05-24 17:28:04 -07:00
mavolin 52bec08cc6 Discord: fix discovery splash url not getting properly calculated 2020-05-24 17:24:58 -07:00
mavolin 6c3b1e0c56 API: verify Embed and AllowedMentions on message edit 2020-05-24 16:57:23 -07:00
mavolin 55e9c28d37 API: fix Message.Author.ID getting sent instead of Message.ID 2020-05-24 09:08:47 -07:00
mavolin 46b001548d Discord: fix wrong hash for discovery splash url 2020-05-24 09:08:24 -07:00
mavolin 19b970bad7 Discord: fix #105 2020-05-23 14:24:03 -07:00
Maximilian von Lindern ce38507fb0
Discord: fixes around meta images (#104)
* API: fix illogical order of parameters

* Discord: fixes around meta images
2020-05-23 10:17:30 -07:00
mavolin 6fbc3e6afd Discord: fix #102 2020-05-23 09:04:12 -07:00
mavolin 147b01641b API: fix illogical order of parameters 2020-05-22 19:19:08 -07:00
mavolin b67b993095 API: fix illogical order of parameters 2020-05-22 19:14:01 -07:00