check if message starts with the prefix
how can I check if a message starts with the bot's prefix? Including the bot's mention
Solution:Jump to solution
Seeing as this is a follow up from your previous post and you do not have access to the command context you'll have to parse it out manually
```js
const possiblePrefixes = ['!', '<@PUT_YOUR_CLIENT_ID_HERE_FOR_THE_MENTION>', 'etc'];
const msg = {...
3 Replies
Solution
Seeing as this is a follow up from your previous post and you do not have access to the command context you'll have to parse it out manually
As an aside, did you delete your other thread? I was looking for it but I can't find it anymore. No big deal if so, just surprised.
I don't think I have permission to delete threads
i just closed it