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

Allow sending IRC topic changes to Discord #380

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

twpol
Copy link

@twpol twpol commented Apr 1, 2018

This change allows the bot to send IRC topics from all channels (setting true) or specific channels (setting Array of names) through to Discord as a plain message like this:

discord-irc IRCUser has changed the topic to "IRC topic"

I had a go at sending Discord topics the other way but it didn't work, I think because it was trying to identify the author of the Discord event and there isn't one.

Part of #220

@coveralls
Copy link

coveralls commented Apr 1, 2018

Coverage Status

Coverage decreased (-1.7%) to 96.736% when pulling 33de960 on twpol:sync-channel-topic into 22e3bec on reactiflux:master.

@@ -71,6 +71,9 @@ First you need to create a Discord bot user, which you can do by following the i
"#discord": "#irc channel-password", // Add channel keys after the channel name
"1234567890": "#channel" // Use a discord channel ID instead of its name (so you can rename it or to disambiguate)
},
"channelTopicsToDiscord": [ // Sends topic changes from IRC to Discord
"#irc

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"#irc
should be
"#irc"

Base automatically changed from master to main January 22, 2021 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants