Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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