Making a Discord Bot with Python 3 - https://www.devdungeon.com/content/ma...
Important note: The discord.py version used here is 0.16.12. The version of Python used is 3.6. Python 3.7 introduced backwards incompatible changes with async. The new version of discord.py 1.0 is also incompatible with this code here. Make sure you follow the instructions closely and ensure you have the proper versions. discord.py==0.16.12, python below 3.7.
Learn how to create a simple Discord bot using Python 3. This will walk through how to create a Discord server, create a bot account, and then write the Python code to power the bot.
Frequently asked questions:
Where do I run "python -m pip install discord.py" - You run it in your system command prompt or terminal
Syntax Error - The code works up through Python 3.6. In Python 3.7 async became a reserved keyword. Change `asyncio.async` to `async` in the code.
I get Discord library errors when trying to run. Make sure you have the correct version of discord.py installed. Run `pip list` to see what version you have. Make sure you have 0.16.12 and not 1.0. `pip uninstall discord.py` and `pip uninstall discord` to ensure you have removed all versions, then `pip install discord.py==0.16.12`.
Links:
https://discord.gg
https://discordapp.com/developers/
https://discordapp.com/developers/app...
https://discordapp.com/oauth2/authori...
https://www.devdungeon.com/content/ai...
https://www.devdungeon.com/content/ch...
https://github.com/DevDungeon/ChattyC...
https://github.com/Rapptz/discord.py
http://discordpy.readthedocs.io/en/la...
Sur cette page du site, vous pouvez voir la vidéo en ligne Make a Discord Bot in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur DevDungeon 15 février 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 98,367 fois et il a aimé 1 mille téléspectateurs. Bon visionnage!