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

Setup Webhooks to send IRC data to. #4

Open
Soyvolon opened this issue Nov 3, 2020 · 0 comments
Open

Setup Webhooks to send IRC data to. #4

Soyvolon opened this issue Nov 3, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Projects

Comments

@Soyvolon
Copy link
Contributor

Soyvolon commented Nov 3, 2020

Feature

Use Discord Webhooks to receive IRC messages to prevent an influx of requests going through the Discord API.

Discord Command

The Discord command will be used to create or re-assign an existing webhook to a channel, and store what IRC channel it is linked to in the application.

Internal

Store the webhooks in such a way they can be accessed easily from either the IRC client or the Discord client. This would require access from either a string for an IRC channel name or a ulong value from a Discord channel ID.

Webhook body needs an implementation that allows easy access for filling the JSON body of the request.

Webhook service should be used to apply any changes, so existing webhooks are not continuously filtered through for the values needed.*

*There may be a better way of doing this

Requirements

  1. Discord command to link a Discord Channel to an IRC channel
    1a. Moves an existing webhook if one exists for that IRC channel
    1b. Creates a new webhook if one is needed.
  2. Discord Messages must relay.
    2a. Any message sent in a linked Discord channel is sent to the IRC client
    2b. Any message sent in a linked Discord channel is sent to other Discord channels that are subscribed to the same IRC channel.
  3. Any message sent in an IRC channel that is linked to will be sent to the proper Discord channels.
@Soyvolon Soyvolon created this issue from a note in 1.0 Release (To do) Nov 3, 2020
@Soyvolon Soyvolon moved this from To do to In progress in 1.0 Release Nov 3, 2020
@Soyvolon Soyvolon self-assigned this Nov 3, 2020
@Soyvolon Soyvolon added the enhancement New feature or request label Nov 3, 2020
@Crotalus Crotalus moved this from In progress to Done in 1.0 Release Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant