Skip to content

Conversation

@MakerPact
Copy link
Owner

This should add functionality to allow the usering calling the command to be able to use there user name of the person that the tag is FOR, and when this is done theen the bot-commands channel will post the message, but it will also ping the selected user to that channel.

The goal is to keep the bot frome being able to flood a normal help channel and when the messages gets red from google it SHOULD not have lots and lots and lots of bot command tags in the channels they should all be in Bot commands channel.

If no user is selected then the message should just apare in the bot commands channel and there should NOT be any message redirecting the user to the commands channel.

@robherc

google-labs-jules bot and others added 2 commits June 18, 2025 20:32
… ping

This change modifies the behavior of tag commands (e.g., /tag name:avrdude).

- Responses are now sent to a configured `#bot-commands` channel instead of the channel where the command was invoked.
- An optional `user` parameter can be provided with the command (e.g., /tag name:avrdude user:@username). If you provide this, the mentioned user will be pinged in the `#bot-commands` channel alongside the response.
- I will send a brief, ephemeral confirmation message to the original channel, directing you to `#bot-commands`.

A new environment variable, `BOT_COMMANDS_CHANNEL_ID`, must be configured with the ID of the target channel for these responses. The README has been updated to reflect this and the new command usage.
…tion in tag command.

Added code to stop the bot from spamming the channel it was called in. and allows the person calling the command to place a user name in the command so the user will be pinged to the bot commands channel to see the bot message.
@MakerPact MakerPact merged commit ca0add6 into DedicatedBotChannel Jun 18, 2025
@robherc
Copy link

robherc commented Jun 18, 2025

in src/command/tags.ts line 94, is the channel direct-link not working in the ephemeral message?

@MakerPact MakerPact deleted the feature/channel-command-redirect branch September 18, 2025 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants