feat: added AI content guideline command prompt#511
feat: added AI content guideline command prompt#511Simplyalex99 merged 2 commits intoreactiflux:mainfrom
Conversation
PR Summary
|
There was a problem hiding this comment.
Pull request overview
This PR adds a new !ai command to the Discord bot's command list that provides guidance on avoiding AI-generated responses in the Reactiflux community. The command sends an embed message explaining that the server values human experience and firsthand insight over AI-generated content.
Changes:
- Added a new
!aicommand in the "Communication" category that explains why AI-generated responses should be avoided in community discussions
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/features/commands.ts
Outdated
| help: `explains why AI-generated responses should be avoided.`, | ||
| category: "Communication", | ||
| handleMessage: (msg) => { | ||
| msg.reply({ |
There was a problem hiding this comment.
This command should use msg.channel.send() instead of msg.reply() to be consistent with similar community behavior reminder commands in this codebase. Commands like !crosspost (line 135) and !gender (line 804), which are also in the "Communication" category and have titles starting with "Please," use msg.channel.send(). The msg.channel.send() approach is more appropriate for commands that are typically invoked to remind or inform other users in the channel, rather than to respond directly to the invoking user.
src/features/commands.ts
Outdated
| const commandsList: Command[] = [ | ||
| { | ||
| words: [`!ai`], | ||
| help: `explains why AI-generated responses should be avoided.`, |
There was a problem hiding this comment.
The help text should not end with a period to be consistent with all other commands in the codebase. Other command help texts like lists all available commands (line 62), provides a no cross-post message (line 132), and explains the XY problem (line 184) do not end with periods.
Description
This PR adds a new AI content guideline prompt to the existing command list, clarifying expectations around AI-generated responses in a friendly and respectful way. An image is attached for a preview of the command.
