After thousands of years, a new release of dimscord has emerged
Dimscord (v1.8.0):
- New rest api endpoints and stuff e.g. polls
- Fully complete components v2 support \o/ -> add the
mfIsComponentsV2into yourflagsparam when sending/editing messages/responses - Fixed up the stupid fatal jsony error crashes, they should be rare and contain the useful information for debugging. adding
-d:jsonyDumpswhilst-d:dimscordDebugis enabled will show you what's happening. - Nim v1.2.0+ -> Nim v2.0.6+ required now
- Fix weird message update and guild members update shenanigans
- Deprecating the naming of the buttons/message component types
- Gateway intents are mandatory, for any other advanced events it'll force you to enable the event otherwise you're gonna have a silent response when the event is called.
- Cool stuff:
message.guild,message.gchannel(-> guildchannel)
it's a shorthand for saying something likes.cache.guildChannels[chan_id], it also accept strings as well. I've seen users not using the intended cache, which I highly encourage to do so. REST endpoints likediscord.api.getGuild,discord.getGuildChannel, ... should be a failsafe if it doesnt exist in cache, unless it'sdiscord.api.getUser - changes with
set[PermissionFlags]inRoles, - fix weird gateway connection issues when
s.resumeGatewayUrlis empty string componentsin interaction response messages should work perfectly flawless now- Almost every enum like
MessageTypeshould contain a unknown to prevent any potential crashes if type specified not in range - Refined some of the docs
Full Changelog: v1.6.0...v1.8.0
Once again, I'd like to thank you all for your patience and helping out.