- Lua 90.2%
- Ruby 9.8%
|
|
||
|---|---|---|
| appl/consort | nits for command packing | |
| ctrl/consort | ctrl: command parsing adjustments for bot permission + add integrations | |
| integrations | add quick README | |
| README.md | add quick README | |
Consort
This project is a staging ground for a developer/project oriented Discord- like using Arcan-A12.
Setup
This assumes you have an arcan directory server up and running, and your authentication key has the necessary permissions to install an appl and slot in a controller. See the config.lua.example in the src/a12/net part of the Arcan repository.
Assuming your directory server is tagged as 'mytag' (arcan-net keystore mytag some.host.addr) you can modify appl/consort/config.lua for other color options
and logging / performance tuning.
Then you install it like so:
arcan-net --push-appl /path/to/consort/appl/consort --sign-tag mysig mytag@
then slot-in the controller part:
arcan-net --push-ctrl /path/to/consort/ctrl/consort --sign-tag mysig mytag@
The same procedure is used to update the appl.
The first client to run the appl and connect will automatically be remembered as the administrator, so be sure to run it immediately:
arcan-net mytag@ consort
The status channel should show that you are now the administrator. As admin you have access to more / commands, the most important now is /add_channel to start setting up the chat rooms you want.
Integrations
There are basic integrations for fossil commit hooks and IRC bridging. These are found in integrations/fossil.rb and integrations/irc.rb
Modify them to set the handle/channel/servers you want the integrations to log to. For the irc bot you then just run it through the ruby interpreter on the machine you want the bot to come from:
ruby irc.rb
For fossil you want to set it up as an after-receive hook while in the directory of a check-out you want:
fossil hook add --command /path/to/fossil.rb --type after-receive