This commit is contained in:
GZod01 2024-12-16 13:29:58 +01:00
parent cffc98475d
commit 5ca76937f9
2 changed files with 4 additions and 2 deletions

View file

@ -4,6 +4,7 @@ from GammaRPBot_Define import GammaRPBot
import aiosqlite
import base64
import io
from public_env import *
_sql_table="""CREATE TABLE personnages (
@ -89,7 +90,7 @@ class PersoCommands(app_commands.Group):
@app_commands.command(name="lister",description="Liste tous les personnages")
async def list_characters(self,interaction:discord.Interaction,output_hidden:bool=False):
#admin
if not interaction.user.id in self.bot.owner_ids:
if interaction.user.id !=super_owner_id:
await interaction.response.send_message("Vous n'avez pas la permission d'exécuter cette commande",ephemeral=True)
return
print("perso list")

View file

@ -1 +1,2 @@
from private_env import *
from private_env import *
super_owner_id=690103250636243068