Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 8a6d41b

Browse files
committed
fix: remove 'give' alias from transfer command
- Removed 'give' from transfer aliases to prevent command conflict - Kept separate 'give' command with gift functionality - transfer now uses aliases: ['pay'] - give now uses aliases: ['gift'] - Fixes CommandRegistrationError on cog load
1 parent 73357e4 commit 8a6d41b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cogs/economy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ async def withdraw_slash(self, interaction: discord.Interaction, amount: str):
403403
)
404404
await interaction.response.send_message(embed=embed)
405405

406-
@commands.command(name='transfer', aliases=['pay', 'give'])
406+
@commands.command(name='transfer', aliases=['pay'])
407407
async def transfer(self, ctx: commands.Context, user: discord.User, amount: int):
408408
"""Transfer coins to another user."""
409409
if user == ctx.author:

0 commit comments

Comments
 (0)