codetheweb / muse

🎧 a self-hosted midwestern Discord music bot that doesn't suck
MIT License
799 stars 201 forks source link

fix: Ensure guild settings exist in DB before updating #999

Closed FoxxMD closed 4 months ago

FoxxMD commented 4 months ago

If a user:

Then muse tries to update settings that were not created since guild-create event was not fired due to bot already existing in user's guild.

Fix this by always getting/creating guild settings before updating any from config command

github-actions[bot] commented 4 months ago

:package: A new release has been made for this pull request.

To play around with this PR, pull codetheweb/muse:pr-999 or codetheweb/muse:4dbfd46460c6516d73d6d9056219a0fbcf1f198f.

Images are available for x86_64 and ARM64.

Latest commit: 4dbfd46460c6516d73d6d9056219a0fbcf1f198f

codetheweb commented 4 months ago

thanks!

github-actions[bot] commented 4 months ago

🚀 Released in Release v2.6.0.