Welcome to discord.py-message-components’ documentation!¶
Visit on PyPI here
You need help? Or have ideas/feedback?¶
Python 3.5.3 or higher is required
This Library overwrite the original discord.py Library so to be sure all will work fine first uninstall the original discord.py Library if it is installed:
# Linux/macOS python3 -m pip uninstall discord.py # Windows py -3 -m pip uninstall discord.py
Then install this Library using:
# Linux/macOS python3 -m pip install -U discord.py-message-components # Windows py -3 -m pip install -U discord.py-message-components
A coroutine is a function that must be invoked with
When Python encounters an
await it stops the function’s execution at that point and works on other things until it comes back to that point and finishes off its work.
This allows for your program to be doing multiple things at the same time without using threads or complicated multiprocessing.
If you forget to await a coroutine then the coroutine will not run. Never forget to await a coroutine.