reactiflux / discord-irc

Connects Discord and IRC channels by sending messages back and forth.
MIT License
1.2k stars 293 forks source link

Unable to connect PVPGN IRC #628

Open harleckinz opened 1 year ago

harleckinz commented 1 year ago

Hello!

I have a special problem with connecting that gameserver's built-in IRC. I've tried multiple selfhosted bridges with same results (look like all have a common problem).

Here is my error log:

2023-03-09T06:47:07.989Z error: Received error event from IRC {

prefix: 'example.net6667',

server: 'example.net6667',

command: 'err_needmoreparams',

rawCommand: '461',

commandType: 'error',

args: [ 'exampleuser', 'USER', 'Not enough parameters' ]

}

And my config:

{ "nickname": "exampleuser", "server": "example.net", "port": "6667", "discordToken": "**", "autoSendCommands": [ ["PRIVMSG", "NickServ", "IDENTIFY mypassword"], ["MODE", "test", "+x"], ["AUTH", "test", "mypassword"] ], "channelMapping": { "#d2": "#diablo", "1082601232339828796": "#diablo" } }

Thank you!

harleckinz commented 1 year ago

Oh, I almost forget to mention that I could login with mIRC. After that I have to authorize myself with a following string:

/msg nickserv identify mypassword

notvillers commented 1 year ago

First of all You should try to run your command without any authentication with a spare unregistered user. I think the problem will be at the autoSendCommands because You are trying to authenticate with NickServ and with AUTH.

notvillers commented 1 year ago

And your channel maping is not good either. "yourdiscordchannelid": "#ircchannel" is the correct way, but with "d2": "#diablo" it wont work I think. The second one is okay.