Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add format options relay nick changes fix #79

Closed

Conversation

llmII
Copy link
Contributor

@llmII llmII commented Feb 14, 2021

This depends on #72 and #76.

Integrates support for PM's with the formatting options so that way they can have a way of being formatted as well.

Figure that all single-sourced messages (JOIN/PART/QUIT (PM via #75 and formatting for PM via #78) relayed towards Discord should have a way to format it.

Still pending figuring out best way to document this in README.md.

Allows for the user to define how messages are formatted back and forth
between Discord and IRC.
@llmII llmII force-pushed the add-format-options-relay-nick-changes-fix branch from 1b18b6f to 963f39e Compare February 14, 2021 18:42
Allows for the user to define how messages are formatted back and forth
between Discord and IRC.
@llmII
Copy link
Contributor Author

llmII commented Feb 15, 2021

This change lets us have our cake and eat it too. If the configuration
for a format is `" "` then it will just not send that message type.
Previously this worked but it would send an empty message which Discord
just really doesn't like!
Merge branch 'formatting-options-feature' into
  add-format-options-relay-nick-changes-fix
Allow for an empty format of `" "` to basically drop nick change.
llmII and others added 4 commits February 16, 2021 08:08
No, we shouldn't warn.

Co-authored-by: Qais Patankar <[email protected]>
When it is first load, if an invalid key is present in `discord_format`
we inform the user of a fatal error and exit.
If it's on reload we don't apply the new format and inform the user such
was not done and that there is an error with an invalid key being
present in the `discord_format` setting.
When it is first load, if an invalid key is present in `discord_format`
we inform the user of a fatal error and exit.
If it's on reload we don't apply the new format and inform the user such
was not done and that there is an error with an invalid key being
present in the `discord_format` setting.
@llmII
Copy link
Contributor Author

llmII commented Feb 24, 2021

Merged into #76.

@llmII llmII closed this Feb 24, 2021
@qaisjp
Copy link
Owner

qaisjp commented Feb 24, 2021

nice!

@llmII llmII deleted the add-format-options-relay-nick-changes-fix branch March 4, 2021 00:00
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.

2 participants