jlyons210 / discord-bot-ol-bootsie

Ol' Bootsie is a highly configurable Discord bot that interfaces with the OpenAI API, written for Node.js in Typescript.
The Unlicense
2 stars 2 forks source link

Message intent is checked when message type is `OwnMessage` and it shouldn't #133

Closed jlyons210 closed 11 months ago

jlyons210 commented 11 months ago

Issue

Message type OwnMessage is for messages that the bot itself has sent to a channel. They'll never be processed for actions, so it is wasteful to check message intent.

Solution

Relocate this line to an appropriate place. I may have broken this during #129.

jlyons210 commented 11 months ago

Merged, tested, and deployed in #142