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
|
|
@ -5,6 +5,7 @@ import os
|
|||
import logging
|
||||
from typing import Dict, Optional
|
||||
import asyncio
|
||||
from utils.premium import check_premium_tier
|
||||
|
||||
kuby_logger = logging.getLogger("KubyBot")
|
||||
|
||||
|
|
@ -234,6 +235,7 @@ class Invites(commands.Cog):
|
|||
kuby_logger.error(f"[Invites] Erreur lors de la suppression de l'enregistrement de l'invitation pour {user.name}: {e}")
|
||||
|
||||
@commands.slash_command(name="setinvitechannel", description="Définit le salon des logs d'invitations")
|
||||
@check_premium_tier()
|
||||
@commands.has_permissions(administrator=True)
|
||||
async def set_invite_channel(self, interaction: disnake.ApplicationCommandInteraction, channel: disnake.TextChannel):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue