Commit Graph

237 Commits

Author SHA1 Message Date
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
diamondburned (Forefront) 4a1d6ad456 Gateway: Added SESSIONS_REPLACE 2020-02-23 09:56:16 -08:00
diamondburned (Forefront) e0589785c5 Discord: Added missing Height and Width into EmbedImage 2020-02-22 16:38:19 -08:00
diamondburned (Forefront) 02987206ab README: Updated reconnect behavior 2020-02-21 23:58:01 -08:00
diamondburned (Forefront) ee60638a55 Gateway: Added more constants
ad3a26ff9a
b30636692a
2020-02-21 23:56:25 -08:00
diamondburned (Forefront) ce59298937 Gateway: Changed Intents' type from uint16 to uint32 for future constants 2020-02-21 23:38:51 -08:00
diamondburned (Forefront) 64aca9ea40 Gateway: Prepare for the new intents update
https://discordapp.com/developers/docs/topics/gateway#gateway-intents
2020-02-21 23:35:11 -08:00
diamondburned (Forefront) a44cdcc34a Discord: Added Link embed type 2020-02-21 23:05:35 -08:00
diamondburned (Forefront) 40948b9445 Merge branch 'master' of github.com:diamondburned/arikawa 2020-02-21 22:04:42 -08:00
diamondburned (Forefront) 1201652aa1 State: Fixed default store messages not working properly 2020-02-21 22:03:44 -08:00
diamondburned 00c1e5c43c Bot: Fixed compile error 2020-02-21 07:57:35 -08:00
diamondburned (Forefront) 587d36fd6c Gateway: Open now fails at once, only Reconnect retries forever. 2020-02-19 19:36:00 -08:00
diamondburned (Forefront) 7b24f58496 Gateway: Fixed typo in Request Members data 2020-02-17 13:11:48 -08:00
diamondburned (Forefront) 4b53d72db1 Discord: Removed invalid avatar discriminator URL 2020-02-17 09:28:52 -08:00
diamondburned (Forefront) 4e9bd53b0f Gateway: Added extra events 2020-02-15 21:29:25 -08:00
diamondburned (Forefront) 0de1e579f3 State: Author* methods now try and use Message.Member 2020-02-12 20:19:24 -08:00
diamondburned 76c7760c24 Gateway: Removed redundant context 2020-02-11 09:29:30 -08:00
diamondburned ff6669a58d internal/wsutil: Fixed error checking 2020-02-11 09:23:42 -08:00
diamondburned (Forefront) 8e3826e5d6 State: Fixed an error related to the last commit 2020-02-10 20:28:36 -08:00
diamondburned (Forefront) 0f3eb688e1 M*erge branch 'master' of github.com:diamondburned/arikawa 2020-02-10 20:26:27 -08:00
diamondburned (Forefront) 60f1963c4b Discord: EditedTimestamp no longer a pointer 2020-02-10 20:26:22 -08:00
diamondburned 15d4f17e71
Merge pull request #9 from Juby210/patch-1
Reactions instead of reaction in message struct
2020-02-10 07:43:55 -08:00
Juby210 914eb27a5d
Reactions instead of reaction in message struct 2020-02-10 16:12:47 +01:00
diamondburned (Forefront) f33dc2ee75 API: Fixed major rate limiters not working 2020-02-09 12:54:16 -08:00
diamondburned (Forefront) 165ef71cb5 State: Changed Self to Me for consistency 2020-02-08 11:51:00 -08:00
diamondburned (Forefront) 91e213135c State: Changed Self to Me for consistency 2020-02-08 11:48:45 -08:00
diamondburned 3288f2d19c
Gateway: Fix race conditions and fatal reconnecting (#7) 2020-02-07 22:17:27 -08:00
diamondburned ce752a0230 API: Improved the rate limit parser 2020-02-07 08:37:01 -08:00
diamondburned f3b4362ada API: Added reactions into rate limit parsers 2020-02-07 08:31:10 -08:00
diamondburned (Forefront) 5acf01d984 State: Fixed bug where range values are dereferenced incorrectly
https://github.com/golang/go/wiki/CommonMistakes#using-reference-to-loop-iterator-variable
2020-02-07 00:22:41 -08:00