Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bad message handling #98

Merged
merged 2 commits into from
Apr 26, 2023
Merged

Fix bad message handling #98

merged 2 commits into from
Apr 26, 2023

Conversation

jbrowneuk
Copy link
Owner

This change set removes the caching of the last received message from the bot's discord client. The old behaviour meant if a message comes in during processing, it would potentially respond to the wrong channel.

The code has been updated to explicitly pass through the source message so the response is sent to the same channel

Addresses #49

@jbrowneuk
Copy link
Owner Author

Needs testing on the nightly version of the bot but going to merge this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant