Update v0.4.4 changelog :-
Wiki has been restructured and newly added features have been added it. Make sure to see the wiki before using them.
Added example code for both internal cache enabled and disabled on wiki.
Wiki: https://github.com/Luckshya/sleepydiscord-squirrel/wiki
Release: https://github.com/Luckshya/sleepydiscord-squirrel/releases/
I recommend to keep the internal cache disabled and manage cache yourself. I have also provided an example script on wiki to cache data.
EDIT: New release has been deleted for some reason, will be available back soon.
EDIT #2: Releases have been re-uploaded, make sure you get the latest one again.
- Switched to lock-free queues instead of mutex locks on server thread, so a boost in performance
- Added an option to toggle internal cache
- Added cache events (see wiki for more info)
- Switched to a single event onDiscordUpdate for all events with variable no. of arguments (see wiki)
- Changed message event function parameters
- Added new script objects to identify discord objects like Guild, Channel, User, ServerMember, Role, Message
- Added GetGuild and GetOtherChannel functions (more info about them on wiki)
- Event callbacks are now made through lock free queue
- Added new constants for Discord EventType, ChannelType and MessageType
Wiki has been restructured and newly added features have been added it. Make sure to see the wiki before using them.
Added example code for both internal cache enabled and disabled on wiki.
Wiki: https://github.com/Luckshya/sleepydiscord-squirrel/wiki
Release: https://github.com/Luckshya/sleepydiscord-squirrel/releases/
I recommend to keep the internal cache disabled and manage cache yourself. I have also provided an example script on wiki to cache data.
EDIT: New release has been deleted for some reason, will be available back soon.
EDIT #2: Releases have been re-uploaded, make sure you get the latest one again.