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

1116 commits

Author SHA1 Message Date
diamondburned (Forefront) be12849668 Changed internal/ to utils/, allowing external imports 2020-04-08 19:28:40 -07:00
diamondburned (Forefront) d5a3a0bd45 API: Changed ModifyChannel to match other Modify channels 2020-04-08 17:57:44 -07:00
diamondburned (Forefront) bd32b19645 API: Fixed UserRateLimit 0 and omitempty 2020-04-08 17:48:36 -07:00
diamondburned (Forefront) 6dafb30401 State: Added more wrappers for direct messaging channels 2020-04-07 19:33:56 -07:00
diamondburned (Forefront) e8694c74e5 Gateway: Slightly better documenting 2020-04-07 12:26:15 -07:00
diamondburned (Forefront) 2f597ebc0b Session: Added an AfterClose handler as a *session.Close event 2020-04-06 19:36:06 -07:00
diamondburned (Forefront) 5750876348 Gateway: Fixed a race condition related to concurrent WS writes 2020-04-06 14:03:08 -07:00
diamondburned (Forefront) 9fefba18f7 Bot: Fixed tests to pass with the new Prefixer API 2020-04-06 13:31:27 -07:00
diamondburned (Forefront) 33061e916f Gateway: Now waits for either READY or RESUMED before finishing Open() 2020-04-06 13:27:33 -07:00
diamondburned (Forefront) 09ae9fbb07 Bot: Added a Prefixer API which breaks the old Prefix string API 2020-04-06 13:27:33 -07:00
diamondburned (Forefront) 58f0feb143 State: Unavailable guilds are no longer added into the state 2020-04-06 13:27:33 -07:00
diamondburned (Forefront) 9f5c2ac958 Gateway: Switched to gorilla/websocket, fixes #11 2020-04-06 13:27:29 -07:00
diamondburned (Forefront) b5f7af70f3 Gateway: Changed UpdateStatus to be more valid 2020-03-31 20:45:56 -07:00
diamondburned (Forefront) f71852604b Gateway: Fixed Since omitempty condition 2020-03-30 23:02:25 -07:00
diamondburned (Forefront) 74f7f5877d Gateway: Fixed more omitempties for UpdateStatus 2020-03-30 22:50:46 -07:00
diamondburned (Forefront) 38eabeb1e9 Gateway: Fixed UpdateStatus omitempty and structs 2020-03-30 22:46:34 -07:00
diamondburned (Forefront) 727f23f8f4 Gateway: Added missing Activities slice in UpdateStatus 2020-03-30 22:22:32 -07:00
diamondburned (Forefront) 9f6d1bde30 Gateway: Separated Activity types 2020-03-30 22:00:28 -07:00
diamondburned (Forefront) c9829b9e28 Gateway: Fixed invalid Since type for UpdateStatusData 2020-03-30 21:46:03 -07:00
diamondburned (Forefront) 8c833814ba Examples: Fixed advanced_bot bug where it immediately removes its own handlers 2020-03-30 18:02:51 -07:00
diamondburned (Forefront) 1e400dfc27 Store: Small bug fixes related to the state store 2020-03-29 10:50:37 -07:00
diamondburned (Forefront) 00481b5490 Gateway: Fixed UserNotification constants 2020-03-26 19:11:25 -07:00
diamondburned (Forefront) 85f8b44e7e Gateway: Updated UserNotification for Channel user settings 2020-03-26 17:04:14 -07:00
diamondburned (Forefront) 86b1120875 Gateway: Changed Notification to UserNotification to avoid confusion with discord.Notification 2020-03-26 17:03:19 -07:00
diamondburned (Forefront) 3a1b1c22fc Gateway: Added missing Notification constant and SupressRoles field 2020-03-26 16:28:43 -07:00
diamondburned (Forefront) 743a8a8fd9 API: Fixed FormatEmojiAPI 2020-03-22 15:23:29 -07:00
diamondburned (Forefront) 126ab255cd Updated README to document WSRetries 2020-03-18 22:00:05 -07:00
diamondburned (Forefront) b59d9bfed7 Arikawa: Updated /x/errors; Gateway: Added TestInvalidToken 2020-03-16 18:29:23 -07:00
diamondburned (Forefront) 8899462ff0 Gateway: Added undocumented GuildMemberListUpdate event 2020-03-15 22:55:45 -07:00
diamondburned (Forefront) 1b785b1c38 State: Added guild emoji handlers 2020-03-11 19:41:14 -07:00
diamondburned (Forefront) 69f8a5d6ec State: Fixed DefaultStore's Channel() not finding DMs 2020-03-10 20:44:35 -07:00
diamondburned (Forefront) 22ef50c499 Gateway: Fixed bug where WS errors block forever 2020-03-07 11:50:30 -08:00
diamondburned (Forefront) 6cd4b361ce Discord: Added Channel.IconURL 2020-03-05 15:49:44 -08:00
diamondburned (Forefront) ad35249b61 Handler: Changed ChanFor API, fixed race conditions in tests 2020-03-03 18:51:24 -08:00
diamondburned (Forefront) 64dad6b2be Bot: Flag separator is now a variable 2020-03-03 15:24:08 -08:00
diamondburned (Forefront) 403e4970f7 Gateway: Fixed a deadlocking mutex 2020-03-02 19:18:33 -08:00
diamondburned (Forefront) 0aebea60bd Gateway: Minor bug fixes 2020-03-01 16:39:40 -08:00
diamondburned (Forefront) 14b9d8f43a API: Fixed unlock of unlocked mutex bug 2020-03-01 14:25:54 -08:00
diamondburned (Forefront) 04a33c3ee4 State: Added a noop state store for convenience. 2020-02-29 19:09:03 -08:00
diamondburned (Forefront) 0cd486fc38 Revert "Gateway: State refactored into smaller components"
This reverts commit 11465c62bd.
2020-02-29 18:54:14 -08:00
diamondburned (Forefront) 4113a5c0b0 Revert "Removed mistakes"
This reverts commit c052339b34.
2020-02-29 18:54:09 -08:00
diamondburned (Forefront) c052339b34 Removed mistakes 2020-02-29 18:51:00 -08:00
diamondburned (Forefront) 11465c62bd Gateway: State refactored into smaller components 2020-02-29 18:50:50 -08:00
diamondburned (Forefront) f0102d765f Gateway: Added a retry limit
State: Event handlers now handle all of Ready's Guilds field
Session: Added Wait, which blocks until SIGINT or Gateway error
2020-02-29 18:13:58 -08:00
diamondburned (Forefront) 220eb5ff42 Gateway: Fixed OP chan not having a concrete type 2020-02-25 22:37:26 -08:00
diamondburned (Forefront) 79c4c1caca Gateway/State: Added message acking and more user update events for State 2020-02-24 21:50:13 -08:00
diamondburned (Forefront) d8530154a5 Examples: Fixed undeleter.go Self() -> Me() 2020-02-23 20:42:31 -08:00
diamondburned (Forefront) 688248346b State: Added handlers for PresencesReplaceEvent 2020-02-23 20:11:33 -08:00
diamondburned (Forefront) 687cad0c72 Discord: Fixed incorrect ActivityType constant 2020-02-23 18:20:13 -08:00
diamondburned (Forefront) 55ebeaf45f Discord: Added a convenient RGB function for Color 2020-02-23 10:11:10 -08:00