A discord bot called KeeperBot for the Keeper Klan discord guild.
Go to https://discord.com/oauth2/authorize?client_id=1240009518847365130 and add him to your server.
- Run the following commands:
git clone https://github.com/yani/keeperbot
cd keeperbot
composer install --no-dev
- Copy the
.env.examplefile as.envand setup the environment variableDISCORD_BOT_TOKEN:
cp .env.example .env
nano .env
- Run the following command:
php keeperbot.php
nano /etc/systemd/system/keeperbot.service
[Unit]
Description=KeeperBot (Discord bot)
After=network.target
[Service]
ExecStart=php /home/yani/keeperbot/keeperbot.php
Restart=always
service keeperbot start
docker run -d \
--name keeperbot \
--restart unless-stopped \
-e DISCORD_BOT_TOKEN=XXXXXX \
yanikore/keeperbot
docker build -t yanikore/keeperbot .
docker push yanikore/keeperbot
MIT
