The issue you're facing is because coucou is not defined as a command in your bot's code, while you defined coucou in your MyBot class, it is not registered as a command
Add that to declare your function as a command
@bot.command()
You can see more at this link
Then look at the Cogs to organize a collection of commands, listeners...