Relay your discord server to irc via avian carrier!
Go to file
Rachel Fae Fox 1bd4e6a6c5 bugfixes and improvements
if i was an asshole i'd leave it at that

bugfixes
- i forgot to actually pull an existing hook, it does that now
  instead of adding a new hook every time.

improvements
- actually added a handler to send messages if someone's nick
  contains discord.
2022-11-10 16:11:37 -05:00
config Rename carrierpidgeon 2022-11-10 14:35:02 -05:00
docs improved project layout and began documentation 2022-11-10 13:42:45 -05:00
lib bugfixes and improvements 2022-11-10 16:11:37 -05:00
priv improved project layout and began documentation 2022-11-10 13:42:45 -05:00
test Rename carrierpidgeon 2022-11-10 14:35:02 -05:00
.formatter.exs initial commit 2020-07-16 23:11:18 -04:00
.gitignore ignore emacs stuff 2022-11-10 13:56:14 -05:00
LICENSE.md add license 2022-11-10 15:06:30 -05:00
README.md update readme 2022-11-10 14:51:02 -05:00
mix.exs bugfixes and improvements 2022-11-10 16:11:37 -05:00
mix.lock add credo and other tools for later. 2022-11-07 09:22:44 -05:00

README.md

CarrierPidgeon

Relay your discord server to irc via avian carrier.

Installation

you need to configure this with a dev.exs / prod.exs like such

import Config

config :discordirc,
  channels: [
    %{ircnetwork: "net1",
      ircchannel: "#mychannel",
      discordid: 123456789234}
  ],
  networks: [
    %{
      network: "net1",
      server: "irc.example.net",
      pass: "",
      port: 6697,
      ssl?: true,
      nick: "discordirc",
      user: "discord",
      name: "Relay bot for my discord"
    }
  ]

config :nostrum,
  token: "YOUR TOKEN HERE",

Running

$ MIX_ENV="prod" mix run --no-halt

if you're going to be hacking on it, or want the ability to update without restarting, I recommend you run it in iex.

$ iex -S mix

to update your bot while running in iex just type recompile.