Euan Caskie

Results 9 comments of Euan Caskie

Need to add the `_unpatch` method to the bot user and take a look at client options etc to do some cleaning up

Simplifying it down is a good idea and it's better to use the client options already presented when dumping as you say it saves weird things from happening and keeps...

Okay that all looks good! Although I will remove the enabled property as users can disable it by setting hotreload to false and enable it by setting it to an...

True, thinking about it there doesn't seem to be a use case where someone would want to use one but not the other. We'll stick with the 1 for now...

Just added some helper methods and general scaffolding. Need to now add in the storing of cache on exit and the patching of cache back in on startup. Will probably...

Going to need your help as to were to place the `_unpatch()` methods on the user and channels as well as writing the rehydration part as I don't think I...

There is a slight problem. Because we only fetch the web socket shard session data from disk inside `identify()` the web socket manager is currently queueing up shards like it...

Fixed a bunch of the minor issues and tested it. Seems to work pretty smoothly so far! We need to consider what we do when a client increases their shard...

These are both better ideas. Just added them along with some extra debug logs. Works like a charm https://github.com/timotejroiko/discord.js-light/pull/41#issuecomment-812840110 Resolved by https://github.com/timotejroiko/discord.js-light/pull/41/commits/7280818342e76baeb7c16c009b9174cce089bcb4 https://github.com/timotejroiko/discord.js-light/pull/41#issuecomment-812840261 Resolved by https://github.com/timotejroiko/discord.js-light/pull/41/commits/a1607044e3fe35947de8f57750dfddaab5466eae