Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

CaptainFact/captainfact-discord-bot

Repository files navigation

Discord AGPL3



The purpose of this bot is to welcome new users on Discord. We may also implement userful commands in the future to interact with it.

Usage

Use !CF help in production or !CFD help in development to see a list of available commands.

Dev

You must create a .env file at the root with the following content:

DISCORD_BOT_TOKEN=YOUR-DISCORD-BOT-TOKEN
NODE_ENV=development
PREFIX=!CFD

Then run:

npm install
npm run dev

Deploy

Zeit Now is used to deploy this bot. Use the ./deploy.sh script to do so as it will automatically shut down old deployment(s) when it succeeds.