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

[currency] add commands to admin and player cog for currency #555

Open
wants to merge 4 commits into
base: currency/base
Choose a base branch
from

Conversation

flaree
Copy link
Member

@flaree flaree commented Feb 19, 2025

Description of the changes

Adds admin commands to view, set, add and remove coins.

Adds player money give and balance

Were the changes in this PR tested?

Yes

@flaree flaree requested review from laggron42 and Copilot February 20, 2025 11:57
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

Comments suppressed due to low confidence (2)

ballsdex/packages/players/cog.py:617

  • The new give command should have corresponding test cases to ensure it works as expected.
f"{amount:,} coins have been given to {user.mention}."

ballsdex/core/models.py:470

  • [nitpick] The error message 'Not enough money' could be more user-friendly. Consider changing it to 'Insufficient funds.'
raise ValueError("Not enough money")

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.

1 participant