Skip to content

v5.0.1#29

Merged
Aisuruneko merged 3 commits intov5from
v5.0.1
Mar 15, 2022
Merged

v5.0.1#29
Aisuruneko merged 3 commits intov5from
v5.0.1

Conversation

@Aisuruneko
Copy link
Copy Markdown
Member

This update includes fixes to commands:

  • userinfo -> corrected default avatar handling.
  • config -> Patch bug where supplying 'next' to the default results in the bot having a fit about json in console, not continuing for user.
  • botcontrols -> You can now restart the bot and actually restart it. No more reloading everything but the main bot.js file.

Also including fixes to:

  • All events requiring audit log pulling -> Patched bug where fetching audit log data got the wrong user. For instance, for a user deleting their own message, it would show the last user who deleted their message prior.
  • ready event -> Patched bug where invite caching causes 429 (ratelimit) errors and possible improper logging of invites.
  • verification -> Patched bug where running multiple verification may cause the database to freak out because the primary key was set to serverID and not something like code.

The following commits patch bugs related to all events that fetch audit log data. The original audit log fetching - for instance for messageDelete - caused the audit log data to be inaccurate - for instance, saying someone deleted a user's message when that so wasn't the case.

There are minor changes pretaining to commands.
Fixed a bug where you can't have multiple verification instances running (you may need to delete the verification table in your database)
Updated bot to accept SIGTERM event for closing.
Corrected restarting, where it actually reloads the entire bot, including bot.js.
No more ratelimiting for invite caching. :)
Fun fact: this took 3 hours to come up with a final solution. This is what happens when you code at night. :^)
@Aisuruneko Aisuruneko added enhancement New feature or request bugfix Fixes a bug labels Mar 15, 2022
@Aisuruneko Aisuruneko self-assigned this Mar 15, 2022
@Aisuruneko Aisuruneko merged commit edf32d2 into v5 Mar 15, 2022
@Aisuruneko Aisuruneko deleted the v5.0.1 branch March 15, 2022 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a bug enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant