Everipedia brain bot is a bot built on the discord api, it sends schdeduled live wiki updates in a discord channel. more updates coming soon!!
Clone Repository
git clone [email protected]:EveripediaNetwork/brainbot.git
Enter bot directory
cd brainbot
Install Dependencies
npm install
Build your bot
npm run build
Set your bot token
In brainbot folder
# Create a .env similar to sample env
CHANNEL_ID= {{channel where bot sends message}}
BOT_TOKEN= {{your bot token}}
API_URL= {{where data is gotten from}}
PAGE_URL= {{basic url for a wiki page appended with a wiki slug}}
Alternatively, you can set each token in the termial. Repeat process for each env
For windows user only
# For command prompt
set BOT_TOKEN=REPLACE_THIS_WITH_YOUR_BOT_TOKEN
# For powershell
$ENV:BOT_TOKEN="REPLACE_THIS_WITH_YOUR_BOT_TOKEN"
For linux user only
export BOT_TOKEN=REPLACE_THIS_WITH_YOUR_BOT_TOKEN
Start your bot
npm run serve