Skip to content

cowprotocol/discord-bot

 
 

Repository files navigation

Robot Cow Bot

Discord BOT

Active bots

PROD

This is the bot active on CowSwap's Discord server

Use this bot invite to add it to a Discord server.

TEST

This is a test bot where new features should be deployed first before hitting production.

Currently running on a private test server named Robot Cow testing grounds. Here's a server invite (which has an expiration date, so you more likely to find it via the search)

Use this bot invite to add it to a Discord server.

Creating the bot

Out of the scope of this README, but in summary something like this can show you the way.

Setting up

  1. Copy .env.example to .env.
  2. Fill in the bot token you got when creating the bot in the previous step

Running

With Node

yarn start

With Docker

docker build . -t robot-cow-bot
docker run -d --env-file .env robot-cow-bot

To see the logs

# get the running CONTAINER ID
docker ps

docker logs <CONTAINER ID>

With Heroku

Install heroku cli and run:

heroku local

Deploying

Heroku

⚠️ Deprecated. We are moving to a self hosting solution.

About

Discord auto moderation bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 97.2%
  • Dockerfile 1.5%
  • Shell 1.1%
  • Procfile 0.2%