Ajout de la monétisation V0.1

This commit is contained in:
Mathis 2026-07-06 16:08:14 +02:00
parent cd0fc4c488
commit 879355f792
29 changed files with 698 additions and 72 deletions

View file

@ -1,5 +1,6 @@
import disnake
from disnake.ext import commands
from utils.premium import check_premium_tier
OWNER_ID = 971446412690722826
@ -124,6 +125,7 @@ class SentBotMessages(commands.Cog):
name="sentbotmessages",
description="Le bot envoie un message dans un salon choisi."
)
@check_premium_tier()
async def sentbotmessages(
self,
interaction: disnake.ApplicationCommandInteraction,
@ -154,6 +156,7 @@ class SentBotMessages(commands.Cog):
name="annonce_proprietaires",
description="Ouvrir le formulaire d'annonce pour les propriétaires."
)
@check_premium_tier()
@commands.check(is_authorized)
async def annonce_proprietaires(
self,