diff --git a/clear_commands.py b/clear_commands.py index bf9c2c7..5bb7e59 100644 --- a/clear_commands.py +++ b/clear_commands.py @@ -4,6 +4,7 @@ import time import datetime import random import os +import sys from os import system from os import environ from discord.ext import commands @@ -23,6 +24,6 @@ bot = commands.Bot(intents=intents, command_prefix=prefix) async def on_connect(): print("Bot ready on Version %s..." % discord.__version__) await bot.sync_commands(commands=[], guild_ids=[261575556708040705]) - print("Press Ctl+c to exit now") + os._exit(0) bot.run(token) \ No newline at end of file