try to fix clear commands

This commit is contained in:
Aaron Riedel 2022-05-19 01:59:27 +02:00
parent 142a49646c
commit d25b3f9a54
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -4,6 +4,7 @@ import time
import datetime import datetime
import random import random
import os import os
import sys
from os import system from os import system
from os import environ from os import environ
from discord.ext import commands from discord.ext import commands
@ -23,6 +24,6 @@ bot = commands.Bot(intents=intents, command_prefix=prefix)
async def on_connect(): async def on_connect():
print("Bot ready on Version %s..." % discord.__version__) print("Bot ready on Version %s..." % discord.__version__)
await bot.sync_commands(commands=[], guild_ids=[261575556708040705]) await bot.sync_commands(commands=[], guild_ids=[261575556708040705])
print("Press Ctl+c to exit now") os._exit(0)
bot.run(token) bot.run(token)