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
-
Edit
.env
file and set theDISCORD_BOT_TOKEN
to the token of your bot -
Run the following command:
php keeper-bot.php
nano /etc/systemd/system/keeperbot.service
[Unit]
Description=KeeperBot (Discord bot)
After=network.target
[Service]
ExecStart=php /home/yani/keeperbot/keeper-bot.php
Restart=always
service keeperbot start
docker run -d \
--name keeperbot \
--restart unless-stopped \
-e DISCORD_BOT_TOKEN=XXXXXX \
yanikore/keeperbot
docker built -t yanikore/keeperbot .
docker push yanikore/keeperbot
MIT