Ajout de la monétisation V0.1
This commit is contained in:
parent
cd0fc4c488
commit
879355f792
29 changed files with 698 additions and 72 deletions
|
|
@ -4,6 +4,7 @@ from datetime import datetime
|
|||
|
||||
from commandes.ticket.data.storage import get_storage
|
||||
from commandes.ticket.staff_analytics import StaffAnalytics
|
||||
from utils.premium import check_premium_tier
|
||||
|
||||
|
||||
class StaffLeaderboard(commands.Cog):
|
||||
|
|
@ -11,6 +12,7 @@ class StaffLeaderboard(commands.Cog):
|
|||
self.bot = bot
|
||||
|
||||
@commands.slash_command(name="staff-leaderboard", description="Affiche le classement du staff")
|
||||
@check_premium_tier()
|
||||
async def staff_leaderboard(self, interaction: disnake.ApplicationCommandInteraction):
|
||||
"""Commande pour afficher le classement du staff"""
|
||||
await interaction.response.defer(ephemeral=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue