Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs

Discord Commands


I want to make a discord bot respond to commands, and i have this code so far, can anyone help me do a command so that it will respond to anything after an exclamation mark, like this !respond

4 years ago
You are viewing a single comment. View All

you could do something like this:
if message.content.startswith('!'): (for some reason it wouldn't let me go to the next line) await'this is where the stuff you want it to say would be')
if this helps, please upvote, though you've probably already gotten an answer since this was from 3 years ago

10 months ago