This commit is contained in:
2025-10-28 15:42:26 +01:00
parent 020c686c81
commit 18d7f318f6
44 changed files with 7168 additions and 7137 deletions

12
gwendolyn/ext/games.py Normal file
View File

@@ -0,0 +1,12 @@
from interactions import Extension, slash_command, SlashContext
from gwendolyn.utils import PARAMS as params
class GamesExtension(Extension):
"""Contains the game commands."""
@slash_command(**params["games"]["money"]["balance"])
async def balance(self, ctx: SlashContext):
await self.bot.money.sendBalance(ctx)
@slash_command(**params["games"]["money"]["give"])
async def give(self, ctx: SlashContext):
await self.bot.money.giveMoney(ctx)