Releases: krisppurg/dimscord
Dimscord (v1.6.0)
Dimscord (v1.6.0)
the drop you all have been waiting for as the hiatus continues... with the yearly releases.
Here is completed list of things that were changed/added:
- Fix voice issue with pause/play, and also fix issue where song gets cut at the near end of the song (via ytdl).
- Some new endpoints
waitFor
andwaitForRaw
events along with (getGuildMember
,waitForReply
, etc) thanks to ire4ever1190- Added
{.mainClient.}
pragma for helper functions likechannel.send
,i.reply
, etc works for nim v2.0.0 only thanks to nayr7 - Fix
createGuildRole
along with other restapi procs like editGuildRolePosition(s) - Automatically define ssl so you you dont have to. (only if u import dimscord first)
- Forum and media channel support
- Added etf support via
-d:discordEtf
, though it might be slower compared to json encoding. - Slightly update discord api errors with a newer format and have a custom exception with some extra fields.
Here's a commit history from all the changes if you're interested.
v1.4.0...master
Just a little quick note if you're interested, I'm thinking of planning to add new cool features like lavalink/lavaplayer and maybe some changes with the library (nothing too breaking of course.) next year in the future or so, looking forward to the next release.
Dimscord v1.4.0
After a long wait and while,
Dimscord v1.4.0
- Default api version is v10, so v10 support.
- Dropped support for v6, v7 and v8 since them 3 are deprecated
- Please note that if you don't specify intents the default is
{giGuilds, giGuildMessages, giDirectMessages, giMessageContent}
- Ability to send/edit attachments in messages and responses
- Updates to application commands and interactions e.g. modals, components, etc.
- Improve interaction responses, making them less verbose, you can look at examples/user_commands.nim
- Also, about editing interaction responses it was editWebhookMessage, but since some people had issues with finding it, I thought I'd make it more findable, same applies for followups.
- Message content intent
- New and some updated events e.g. auto moderation, guild scheduled events
Last but not least........
- Voice implementation and with an example, you can play audio in a voice channel, huge thanks to @ire4ever1190!
- To enable voice you need to define
-d:dimscordVoice
.
- To enable voice you need to define
Changes: v1.3.0...master
Dimscord v1.3.0
I am very proud to announce Dimscord v1.3.0 after a long while.
Here is completed list of things that were added: #50
getGuildChannel
->getChannel
- New Slash Command endpoints
- Message Components
- Stage Instances
- Stickers
- Threads
- Of course updated fields.
- Fixed global ratelimiting (dont worry ratelimiting is all good)
embed
->embeds
-d:discordv9
and-d:dimscordDebugNoSubscriptionLogs
are new definable options- Slash command permissions
- Context menus
After all of these features, I would like to thank @ire4ever1190 for helping out and implementing those endpoints.
Thanks.
Dimscord v1.2.5
Dimscord v1.2.5
This release contains updates to the library, such as patches to v1.2.0 of course there are now:
- Reply support to
sendMessage
- Fix status update not working
- Split files (although this change is internal so that's nothing to worry about updating your code)
- Addition to Slash commands., you can have a look on the discord docs for more info, as I'd recommend doing so.
- New event macro or
{.event(discord.}
, this is a useful shortcut. - Using
zippy
for zlib compression - Remove v1.4.0 deprecation warning messages.
- Docs update, of course.
- Fixed a bug when you define
discordv8
, you get a permission cast flag error (str to set[PermissionFlags)
Besides the change, we've got other news as well:
- Dimscord now has a seperate command handler, made by ire4ever1190 also known as hobbledehoy!
- We are also now on community resources!
Command Handler: https://github.com/ire4ever1190/dimscmd
Out of date? Have a look at https://github.com/krisppurg/dimscord/releases
Dimscord v1.2.0 FIXED patch
v1.2.1 Update dimscord.nimble
Dimscord v1.2.0
This release contains support for discord api v8 changes and some improvements with the library I highly recommend you should read the v8 changes, if you are using v8.
Discord API v8 changes: https://discord.com/developers/docs/change-log#api-and-gateway-v8
Use -d:discordv8
for v8.
This is mildly a breaking change, but this release also fixes to user
not being in emoji in GUILD_CREATE which is a very common bug in users installing the last vesion aka v1.0.7
.
Here is the changes being made to Dimscord:
- Make types like
MessageType
,AuditLogEntryType
,ActivityType
, etc asenum
s, renamed fromPermEnum
toPermissionFlags
any bitwise enum has "Flags" at the ending, except for GatewayIntent. - Removed
reaction
in messageReactionAdd, since it was not necessary usem.reactions[$emoji]
instead. - Renamed every "GuildEmbed" to "GuildWidget" since discord decided to change it.
- Every
allow
ordeny
is aset
ofPermissionFlags
- If you are using v8, use Presence.activities[0] instead of Presence.activity.
- Renamed from
genInviteLink
tocreateBotInvite
since it was a temporary name and I forgot to change. - Fixed zombied connection bug (I think?), since it had a strange issue and behaviour of reconnecting causing the final result of invalidating a session.
startSession
will contain errors from now, if the client cannot reconnect for example the4013 - Invalid Intent(s)
error orautoreconnect
is off.- Timeouts for rest and gateway.
- Voice gateway was added, voice was taking more long and was causing
v1.2.0
to delay even more, sending audio will be added later.
Enjoy, let me know if there are any issues you can contact me on the discord api channel linked in the readme above.
Dimscord v1.0.6 (PATCHED) v1.0.7
Read v1.0.6 this is fixed patched version. This release had a bug with the code.
Dimscord v1.0.6
This release contains bug fixes and some updates with the library.
Here's what this release contains:
Notable changes:
- Zlib compression is definable due to the
could not load zlib1.dll
error on windows. - There is an update with request guild members which fixes where you cant get a member from id.
- String values in PermEnum (#18)
- Make
id
andname
Option
al, becausename
is nullable inMESSAGE_REACTION_REMOVE
events.
For change comparisons: Click here (to master) or here (to v1.0.6)
Dimscord v1.0.1
This is a slightly minor release.
- Fixed a bug, when getGateway hangs up after first attempt, while the library is reconnecting when a network error occured. This commit can be found here.
- Added stripMentions procedure.
- Changed the debugging layout for gateway.
Dimscord v1.0.0
This release contains a ton of fixes and big amounts of changes on Dimscord.
This is what I would either call a usable and stable release.
Though, there may be bugs out there, but hopefully this won't cause any problems.
So, this is the initial release.