Skip to content

Preventing people from farming points by adding the bot to a private server. - #152

Merged
Xarlos89 merged 1 commit into
masterfrom
bugfix/prevent-farming-of-points
Jun 18, 2026
Merged

Preventing people from farming points by adding the bot to a private server.#152
Xarlos89 merged 1 commit into
masterfrom
bugfix/prevent-farming-of-points

Conversation

@kritarth2135

Copy link
Copy Markdown
Collaborator

Description of your PR

This PR adds a check for Guild in on_message Cog listener to only add points if the message is sent in the Master Guild.

Describe your changes

Same as above. Actually, there should be separate tables in DB for every server the bot is in to prevent this but right now there is a lot of refactoring going on so just a dirty fix for now.

Added

None.

Fixed

Same as above.

Changed

None.

Removed

None.

Issue link

None.

Checklist

  • Does an issue of this PR exist and have you linked it?
  • Have your ran pre-commit over your PR?
  • Was this PR branched off from master?
  • Is this PR merging to master?

@kritarth2135
kritarth2135 requested a review from Xarlos89 June 17, 2026 09:47
@kritarth2135 kritarth2135 added the bug Something isn't working label Jun 17, 2026
@Xarlos89
Xarlos89 merged commit 2c24a8d into master Jun 18, 2026
1 check passed
@kritarth2135
kritarth2135 deleted the bugfix/prevent-farming-of-points branch June 18, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants