Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

actorapp/actor-bot-docker-template

Repository files navigation

Docker-ready bot template

This is template to write and run your own bot in docker container.

Create bot on server

Create bot token via actor-cli (with/or without admin privileges):

actor-cli create-bot --username bot_username --name BotName --admin

Bot Installation

To start bot via docker, execute:

docker run -e BOT_USERNAME=<username of bot> -e BOT_TOKEN=<token of bot created via cli> -e BOT_ENDPOINT=wss://api.actor.im actor/echo-bot
Argument Required Description
BOT_USERNAME yes Bot's username
BOT_TOKEN yes Bot's Token
BOT_ENDPOINT no Server API endpoint. If no set will connect to main actor cloud.

Licesnse

MIT

About

Template to easily create dockerized bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published