From d25b3f9a54ef62b6395cd6c55e8b1a80616814d2 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Thu, 19 May 2022 01:59:27 +0200 Subject: [PATCH] try to fix clear commands --- clear_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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