mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-22 03:09:22 +01:00
irc/piraatit: add discord-irc
This commit is contained in:
parent
a6dbbf0ec3
commit
988956633a
@ -15,4 +15,8 @@ Notes:
|
||||
to be started manually as I don't have root on Kapsi and they don't have
|
||||
systemd or user services at the time of writing and without lithing that
|
||||
would require logging in once after every reboot for it to start doing
|
||||
anything.
|
||||
anything
|
||||
* discord-irc assumes that you have cloned the git repo and installed using
|
||||
npm there.
|
||||
* offtopic, but remember to enable Discord developer mode in settings
|
||||
for being able to right click channel name to copy ID.
|
||||
|
33
irc/piraatit/discord-irc/config.json
Normal file
33
irc/piraatit/discord-irc/config.json
Normal file
@ -0,0 +1,33 @@
|
||||
[
|
||||
{
|
||||
"nickname": "D6",
|
||||
"server": "fi.pirateirc.net",
|
||||
"discordToken": "CENSORED",
|
||||
"autoSendCommands": [
|
||||
["NICKSERV", "IDENTIFY D6 CENSORED"],
|
||||
["NICKSERV", "REGGAIN D6 CENSORED"],
|
||||
["MODE", "D6", "-i"]
|
||||
],
|
||||
"channelMapping": {
|
||||
"374659905983873025": "#piraattinuoret",
|
||||
"374867585868496897": "#pinu_hallitus",
|
||||
"375207988459470849": "#test",
|
||||
"381011785962225664": "#aaltopiraatit"
|
||||
},
|
||||
"ircOptions": {
|
||||
"userName": "D6",
|
||||
"realName": "Admin: Mikaela#6940",
|
||||
"password": "CENSORED",
|
||||
"port": "6697",
|
||||
"secure": "true",
|
||||
"sasl": "true",
|
||||
"stripColors": "true"
|
||||
},
|
||||
"format": {
|
||||
"ircText": "<{$displayUsername}> {$text}",
|
||||
"discord": "<`{$author}`> {$withMentions}"
|
||||
},
|
||||
"ircNickColor": false,
|
||||
"commandCharacters": ["!", "_"]
|
||||
}
|
||||
]
|
3
irc/piraatit/discord-irc/start
Executable file
3
irc/piraatit/discord-irc/start
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
cd /home/discord-irc/discord-irc
|
||||
npm start -- --config /home/discord-irc/config.json
|
Loading…
Reference in New Issue
Block a user