Discord Bot - If Person Mentions Role - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Discord Bot - If Person Mentions Role (/thread-15769.html) |
Discord Bot - If Person Mentions Role - badmuchachob - Jan-30-2019 Didn't really know where to put this. I want to make it so if someone mentions a role and types @Fight Hufflepuff, the bot will respond. Here's my code: if message.content.mention('@Fight Hufflepuff'):(There's async def and await scripts above, I just need help with this bit.) I know that isn't right, but I couldn't figure it out. I've tried tutorials and everything. Thanks! |