Commands addressing a bot don't work
See original GitHub issueCommands like /command@bot_name_bot
don’t work with the bot.command()
handler.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Discord bot isn't responding to commands - Stack Overflow
), use @client. command on the decorator, while if you use Bot ( bot = commmands.
Read more >/Commands don't work for specific bot : r/discordapp - Reddit
So, I have 2 servers, each have the same bot that was made by a friend. in server 1, it's able to use...
Read more >Commands - discord.py
Failure to do this will result in your bot not responding to any of your commands. ... This works similar to positional arguments,...
Read more >How to Fix Discord Rhythm Bot Not Working Issue
How to Fix Discord Rhythm Bot Not Working Issue · 1. Check Volume Level · 2. What if the Server is Muted ·...
Read more >Server Commands - botman.nz
All commands are typed in in-game chat and begin with a / Commands have access levels and won't work for you if your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This could probably be automated using the
/getMe
API endpoint. Is there any interest in this? If so I could look into it.This scenario applies mainly to groups.
In a group there can be multiple bots. If you want just one bot to execute a command, you can mention the bot in there by postpending the command with @botname.
Also: If your bots offer commands within a message written by that bot (e.g.
/help
) they become clickable. If you click on such a link, it is automatically suffixed with @botname. So a command /something becomes/something@botname