✨
This commit is contained in:
12
gwendolyn/ext/games.py
Normal file
12
gwendolyn/ext/games.py
Normal 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)
|
||||
Reference in New Issue
Block a user