3 Usage
DebXWoody edited this page 5 months ago

Configuration file

~/.config/vulpes.conf

[account]
xmppid=bot@domain.tld
pwd=your_pwd
muc=room@chat.domain.tld/bot-nick-name
db=vulpes.db
admin=you@domain.tld

[modules]
admin=modules/mod_admin.so
echo=modules/mod_echo.so
org=modules/mod_org.so
rss=modules/mod_rss.so
codeberg=modules/mod_codeberg.so

Starting bot

user@server~$ bin/vulpes
vulpes-main-Message: 15:25:28.012: Starting vulpes 0.0.0
vulpes-Message: 15:25:28.012: Loading settings from /home/user/.config/vulpes.conf
vulpes-settings-Message: 15:25:28.013: Module admin
vulpes-settings-Message: 15:25:28.013: Module admin modules/mod_admin.so
vulpes-modules-Message: 15:25:28.013: Loading module admin (modules/mod_admin.so)
vulpes-mod-admin-Message: 15:25:28.013: Loading mod_admin (0.0.0)...
vulpes-settings-Message: 15:25:28.013: Module echo
vulpes-settings-Message: 15:25:28.013: Module echo modules/mod_echo.so
vulpes-modules-Message: 15:25:28.013: Loading module echo (modules/mod_echo.so)
vulpes-mod-echo-Message: 15:25:28.013: Loading mod_echo (0.0.1)...
vulpes-settings-Message: 15:25:28.014: Module rss
vulpes-settings-Message: 15:25:28.014: Module rss modules/mod_rss.so
vulpes-modules-Message: 15:25:28.014: Loading module rss (modules/mod_rss.so)
vulpes-mod-rss-Message: 15:25:28.014: Loading mod_rss (0.0.0)...
vulpes-Message: 15:25:28.014: Connecting bot@domain.tld
vulpes-Message: 15:25:28.857: XMPP connected
vulpes-Message: 15:25:28.857: Joining MUC room@conference.domain.tld/bot-nick-name