Skip to content

Commit 82a2b85

Browse files
committed
Convert discord.py client instance to PyCord client instance
1 parent 5f6aabc commit 82a2b85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import datetime
77
import requests
88
import json
9+
from discord import option, ApplicationContext
910
from discord.ext import commands
1011
from discord.ext.commands import *
1112
from discord.ext import tasks
@@ -36,7 +37,7 @@
3637
else: os.system('clear')
3738
owner = '@notsniped'
3839
homedir = os.path.expanduser("~")
39-
client = commands.Bot(command_prefix="+", intents=intents)
40+
client = discord.Bot()
4041
global startTime
4142
startTime = time.time()
4243
client.remove_command('help')

0 commit comments

Comments
 (0)