diamondburned
81b1a0a902
Session: Added a handleloop abstraction
...
This abstraction will mainly be in charge of handling events from a
channel and dispatching them to handlers in a thread safe manner. It
boxes synchronizing mechanisms inside a struct.
2020-11-17 12:15:05 -08:00
diamondburned
6cbe95d2b3
State: Fixed erroneous context setting and races in Ready
2020-11-14 15:30:18 -08:00
diamondburned
75df94d9f4
*: Migrated Go Modules to v2
2020-10-28 15:39:59 -07:00
diamondburned
86795e42a6
Session: Fixed a potential race condition on Close
2020-10-21 22:42:16 -07:00
mavolin
ba4b224168
handler: move package from /handler to /utils/handler
2020-07-29 16:58:33 -07:00
diamondburned
edb8a46ef2
Gateway: Added intent helpers and more context API support
2020-07-11 12:50:32 -07:00
diamondburned (Forefront)
16ed406c53
Session: Fixed a panic bug when the gateway fails
2020-06-29 11:00:07 -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
41ce1f389e
make all error messages lowercase
2020-05-16 23:14:49 +02:00
diamondburned (Forefront)
2afe683b7d
Utils: Added HTTP drivers
2020-04-19 14:53:53 -07:00
diamondburned (Forefront)
4e4ebde93a
Gateway: Deprecated Wait(), fixed ReconnectOP bug
2020-04-12 11:06:43 -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)
33061e916f
Gateway: Now waits for either READY or RESUMED before finishing Open()
2020-04-06 13:27:33 -07: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)
4e9bd53b0f
Gateway: Added extra events
2020-02-15 21:29:25 -08:00
diamondburned (Forefront)
ac685b0df4
Minor fixes, undocumented things, and editorconfig
2020-01-19 13:54:16 -08:00
diamondburned (Forefront)
7f06d88d0f
Updated heartbeat behavior
2020-01-18 22:22:03 -08:00
diamondburned
2dc983d243
Added simple example
2020-01-17 14:29:13 -08:00
diamondburned (Forefront)
deafe15967
Moved internal/handler outside
2020-01-16 21:23:56 -08:00
diamondburned (Forefront)
cfa764b150
Fixed unit tests
2020-01-16 21:20:09 -08:00
diamondburned (Forefront)
d627690835
Added session, started state
2020-01-16 21:17:46 -08:00
diamondburned (Forefront)
4a529dd2ec
Added Session + Handlers
2020-01-16 18:08:03 -08:00
diamondburned
127c636310
Moved misc packages to internal
2020-01-15 10:32:54 -08:00
diamondburned
8fc7229c3f
Added an untested Gateway package
2020-01-14 20:43:34 -08:00