question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Commands addressing a bot don't work

See original GitHub issue

Commands like /command@bot_name_bot don’t work with the bot.command() handler.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
michaelkolbercommented, Jan 5, 2020

This could probably be automated using the /getMe API endpoint. Is there any interest in this? If so I could look into it.

1reaction
glorcommented, Jan 28, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found