Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xEthamin committed Jun 13, 2024
1 parent c9ecdb8 commit cef32d5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/GarageBot.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ class Bot(commands.Bot):
def __init__(self) -> None:
super().__init__(command_prefix="&&", intents=discord.Intents.all())

async def setup_hook(self) -> None:
await self.tree.sync()

async def on_ready(self) -> None:
await self.tree.sync()
asyncio.create_task(purge_outdated_otp_task())
asyncio.create_task(manage_log_task())
print("Connected")
Expand All @@ -40,7 +38,6 @@ async def manage_log_task():


bot = Bot()
asyncio.create_task(bot.setup_hook())

@bot.tree.command(name="owner", description="Donne le pseudo du propriétaire du serveur")
async def owner_command(interaction: discord.Interaction):
Expand Down

0 comments on commit cef32d5

Please sign in to comment.