Skip to content

Commit

Permalink
yummy
Browse files Browse the repository at this point in the history
  • Loading branch information
wfxey committed Feb 2, 2025
1 parent f449687 commit 6dc2026
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import datetime
import pytz
import uuid
import threading
import asyncio
from datetime import date, timedelta
import argparse
Expand Down Expand Up @@ -585,4 +586,8 @@ async def delete_file_command(interaction: discord.Interaction, file_id: str):
client.tree.add_command(delete_file_command)
client.tree.add_command(feedback)

client.run(token)
def run_bot():
client.run(token)

bot_thread = threading.Thread(target=run_bot)
bot_thread.start()
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ datetime
pytz
uuid
asyncio
argparse
argparse
threading

0 comments on commit 6dc2026

Please sign in to comment.