Skip to content

Repository files navigation


IQ.wiki Brain Bot

Overview

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!!

Installation

Clone Repository

git clone git@github.com: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 envCHANNEL_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 promptset 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

About

Discord bot that posts IQ.wiki live updates.

Topics

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages