Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Being a rebel, I plan to see if I can use Discord-IRC to basically set up Discord as a personal, nice IRC client. In such a case, the before every message becomes redundant and annoying. Since just ripping out that logic in a personal fork seemed like a bad idea (what if someone else does happen to connect and type something? I don't want to be impersonated!) I made this instead.
Discord user IDs can be added to an optional "passthroughUserIDs" section of the configuration, and if that user sends a message, it just sends through the bot directly. No , no "Command sent by X from Discord", they just talk through the bot. If it doesn't exist in the config, or the user ID isn't in it, it acts as usual.
While what I'm trying to do isn't the goal of the project, I thought this might happen to have its uses. This is definitely a very niche thing to have, but since it works I figured why not PR it. My apologies if this is too out there.
(I'm definitely not a node.js dev, so I might have missed an easier way to do this, though the
npm run lint
didn't output anything. Additional apologies if there's anything obviously off.)