Answers for "how to make a discord bot listen to messages python"

8

how to make it so a discord bot messages in a certain channel python

channel = client.get_channel(12324234183172)
await channel.send('hello')
Posted by: Guest on January-19-2020
0

python discord know message from bot

def on_message(self, message):
    if (message.author.bot):
        return #if this is true: then it is by a bot.
Posted by: Guest on January-24-2021

Code answers related to "how to make a discord bot listen to messages python"

Python Answers by Framework

Browse Popular Code Answers by Language