Ask coding questions

← Back to all posts
[FIXED] Discord bot - Can’t post message in a specific function
MATTEOBERTUCCI

Hello
I’m creating a bot discord where I can post a message in function on_message but in another function (here startBlankConnection) the message don’t post without any error
Can you help me ?
EDIT : NOW FIX :)

Answered by mat1 [earned 5 cycles]
View Answer
Comments
hotnewtop
mat1

Your code looks fine, can you please edit your post and paste the error?

MATTEOBERTUCCI

@mat1 My code is now correct tanks to user of discord server discord.py . Thanks you anyway mat1