serenity-rs / poise

Discord bot command framework for serenity, with advanced features like edit tracking and flexible argument parsing
MIT License
597 stars 106 forks source link

fix: race condition in use of of atomic variable in example #246

Closed c-git closed 4 months ago

c-git commented 4 months ago

Closes: https://github.com/serenity-rs/poise/issues/245#issuecomment-1969520941 I didn't test it yet but the change is pretty small. I will try to test once I get a chance but might be a while so I'm sending the PR still in case someone has a chance before me.