itabashi
itabashi copied to clipboard
What to enter for discord channel?
How does it know which server and which channel?
Why is the documentation so poor on this? Why is there no example config?
Hi @ggouki, sorry about the documentation. It's mostly an internal tool at this point so documentation hasn't been at the top of the list of stuff to work on. The config format is one we inherited from another Discord-IRC linker (don't remember exactly where from).
For the Discord channel, it just compares the channel name against all the channels that you have access to in Discord. If one of the channels you have access to has the same name you've given, it assumes you mean that channel.
The IRC server is denoted by the key 'server'
, and right now it just joins on 6667 with no TLS/SSL.
The config format itself I've been meaning to improve for a while now with #3 but haven't been able to get the time to yet. For now, it'd be best to try to use the create_config.py script which should help you get a basic config, but I'll definitely get the idea down of having an example configfile that goes through all the options. That'd be really useful and good to have.
So the config format should be much better now -- though you'll still want to create it with the provided create_config.py
script. If you're still interested I'd recommend giving that a shot.