Files
Gwendolyn/gwendolyn/ext/games.py
2025-10-28 15:42:26 +01:00

13 lines
460 B
Python

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)