2022-11-10 14:40:11 -05:00
|
|
|
# CarrierPidgeon
|
|
|
|
|
|
|
|
Relay your discord server to irc via avian carrier.
|
2020-07-16 23:11:18 -04:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2022-11-10 13:42:45 -05:00
|
|
|
you need to configure this with a dev.exs like such
|
2020-07-16 23:11:18 -04:00
|
|
|
```elixir
|
|
|
|
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,
|
2022-11-10 13:42:45 -05:00
|
|
|
token: "YOUR TOKEN HERE",
|
2020-07-16 23:11:18 -04:00
|
|
|
```
|
|
|
|
|
2022-11-07 21:59:34 -05:00
|
|
|
## Running
|
|
|
|
This is still in heavy development so i haven't handled running it as
|
|
|
|
a release or anything special like that you can still run it with iex.
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ iex -S mix
|
|
|
|
```
|
|
|
|
|
|
|
|
This does have advantages, for example, if you need to upgrade your
|
|
|
|
bot you can just type `recompile` and update it without restarting.
|
2020-07-16 23:11:18 -04:00
|
|
|
|