Blech + Adler = Blechadler | A discord bot
npm installauth_sample.json to auth.jsonconfig.json and make sure serverip, port, sid (virtual server id), category and noticesTargetChannel match your preferencesnpm startA docker image is available on docker hub.
The app is located in /usr/src/app/ so you want to either copy your auth.json directly into the dockers /usr/src/app/config/ directory or use volumes to add/modify the config files. The other directory you may want to acccess is usr/src/app/db which includes the sqlite database user for reminders etc.
Here is an example docker-compose.yml:
version: '3'
services:
blechadler:
image: gruppeadler/blechadler
volumes:
- /usr/blechadler/config/auth.json:/usr/src/app/config/auth.json
- /usr/blechadler/config/config.json:/usr/src/app/config/config.json
- /usr/blechadler/db:/usr/src/app/db
The server query account needs at least this permissions
b_serverquery_loginb_serverinstance_version_viewb_virtualserver_selectb_virtualserver_notify_registerb_virtualserver_channel_listb_virtualserver_client_listi_channel_subscribe_poweri_channel_needed_subscribe_powerFor the channel feature to work the Blechadler needs the following permissions at least for the channels category:
Manage PermissionsRead MessagesSend MessagesAll commands have to begin with the specified command symbol (! per default)
ts: Displays all active teamspeak clients with a channel list. Needs to be issued from a channel specified in noticesTargetChannelAll commands have to be writted down directly after the bot's mention. Message has to start with the mention.
about: Displays the version, description and name of the botchannel: Same as direct commandhelp: Displays help to all commands / a specific commandpick: Picks a random answer from the given choicesreminder: Remind a user about somethingstrich: Add a "strich" to a userstriche: List all "striche"teamspeak: Same as direct commandContent type
Image
Digest
Size
43 MB
Last updated
almost 6 years ago
docker pull gruppeadler/blechadler