Ask coding questions

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

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 (4427) [earned 5 cycles]
View Answer
Comments
hotnewtop
mat1 (4427)

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

MATTEOBERTUCCI (0)

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