Skip to content

Commit 4b83586

Browse files
committed
fixed requirements/bot
1 parent b948e3e commit 4b83586

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

bot.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ def email_check(email):
105105
else:
106106
return False
107107

108-
client = commands.Bot(command_prefix = '.')
108+
intents = discord.Intents.default()
109+
intents.members = True
110+
111+
client = commands.Bot(command_prefix = '.', intents=intents)
109112

110113
@client.event
111114
async def on_ready():

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ async-timeout==3.0.1
44
attrs==19.3.0
55
chardet==3.0.4
66
click==7.1.2
7-
discord.py==1.4.1
7+
discord.py==1.5.1
88
Flask==1.1.2
99
idna==2.10
1010
itsdangerous==1.1.0

0 commit comments

Comments
 (0)