Skip to content

Bot should reply to the message that triggered the response #3556

Description

@Kaztral-ar

When a user uses a command like !ping, the bot sends the response as a separate message instead of replying to the message that triggered it.

For example, currently:

User: !ping

Bot: Pong!
Command processing time: 72.875 ms

The bot should instead reply directly to the !ping message:

User: !ping
↳ Bot: Pong!
Command processing time: 72.875 ms

This would make it easier to follow which message the bot is responding to, especially in busy channels.

The reply should not mention or ping the user.

If the bot is using discord.py, this could be handled with:

await message.reply(response, mention_author=False)

Why

Replying to the original message makes it much clearer what the bot is responding to, especially in busy channels.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions