Skip to content

Updated the code to be able to run with the latest version of discord.py#3

Open
ayjzhu wants to merge 3 commits intoworktips:masterfrom
ayjzhu:master
Open

Updated the code to be able to run with the latest version of discord.py#3
ayjzhu wants to merge 3 commits intoworktips:masterfrom
ayjzhu:master

Conversation

@ayjzhu
Copy link

@ayjzhu ayjzhu commented May 19, 2019

Changed a few syntaxes, and the program will run perfectly with the current version of discord.py (v.1.1.1).

ayjzhu added 3 commits May 19, 2019 01:31
Now the function client.is_closed() would be executed and returns a boolean.
Use channel.send(message) works perfectly with discord.py version v.1.1.1
Replace client.server to client.guilds to match with the updated discord.py version (v1.1.1)
@Mindparadox
Copy link

I have added the bot to the server, went through all the instructions, but still, it doesn't work. Any ideas what could cause it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants