How to disconnect discord.py (self)bot?
python, python-3.x, discord, discord.py
Client.logout()
or
Client.close()
Discord.py Make bot wait for reply
Use
Client.wait_for
to wait for
on_message
event.
@commands.command()
async def greet(ctx):
(7 more lines were trimmed)