onury5506 / Discord-ChatGPT-Bot

Discord ChatGPT bot
MIT License
166 stars 71 forks source link

Reply to all messages #12

Closed ghost closed 1 year ago

ghost commented 1 year ago

Can you make this bot reply to all messages in a channel without needing a command?

rhaym-tech commented 1 year ago

do it by yourslef

ghost commented 1 year ago

Well if that was the case this wouldn't be an issue, it would be a pull request.

onury5506 commented 1 year ago

I don't planning add this feature to the project. But you can make quick modify on the project for it. If you convert this line from: if (process.env.ENABLE_DIRECT_MESSAGES !== "true" || message.channel.type != ChannelType.DM || message.author.bot) to: if (message.author.bot) It should work how you want. image