Added threads flag
This commit is contained in:
@@ -4,6 +4,7 @@ import yt_dlp
|
||||
import discord
|
||||
import logging
|
||||
import argparse
|
||||
import os
|
||||
from discord.ext import commands
|
||||
from discord import Embed
|
||||
|
||||
@@ -223,6 +224,7 @@ else:
|
||||
bot.loop.run_until_complete(bot.start(token=args.token, reconnect=True))
|
||||
except KeyboardInterrupt:
|
||||
bot.loop.run_until_complete(bot.close())
|
||||
os.remove("cache/*")
|
||||
finally:
|
||||
bot.loop.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user