Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Rihanss/holobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Holo Bot Setup Guide

Since the bot has been shut down with no plan on activating it, We as Developers. Decided to open source base code for User to Host for themself.

Feel free to contribute if there a mistake

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Requirements

Downloading

In a command prompt in your project's folder (wherever that may be) run the following:

git clone https://github.com/ryanshds/holobot.git

Once finished:

  • In the folder from where you ran the git command, run cd holobot and then run npm install, this will install all required packages, then it will run the installer.

Starting

To start the bot, in the command prompt, run the following command: node index.js

Your Bot token can be placed through .env file or via app.js

Inviting the bot

To add your bot to your server go to this site

Discord Permission Calculator

Issue:

First of all, Holo is using quick.db and Enmap as her database. Installation guide for quick.db on windows can be found Here

Enmap installation, can be found Here

You need to install better-sqlite3 to continue using quick.db and enmap

npm install better-sqlite3

If you encounter error, make sure to install Visual Studio C++ Build Tools Windows:

npm i -g --add-python-to-path --vs2015 --production windows-build-tools

It's very important that this be run in the administrative prompt, and not a regular one.

Linux:

sudo apt-get install build-essential

Everything is now done, you now can run

npm install

Please let me know if you encounter issue