Skip to content

Latest commit

 

History

History
121 lines (95 loc) · 3.01 KB

README.md

File metadata and controls

121 lines (95 loc) · 3.01 KB

Menhera Bot


Logo

Menhera Bot

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License
  5. Notes

About The Project

Menhera Bot is a private Discord bot built for the Menherachan Hub & Minihub

Built With

Getting Started

Prerequisites

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/norowachi/menhera-bot.git
  2. Install NPM packages
    npm install
  3. Enter your credentials in .env according to .env-example

Starting The Bot

  1. Install Git and configure it to be able to use bash scripts and commands (OPTIONAL)
  2. Register the commands
    npm run register
    (Note: don't forget to mark register.sh as executable)
    • if the method above doesn't work, no worries just run the file
      tsc && node dist/registerCommands.js
  3. Now you can run the bot
    npm start
  • if you have any issues do not hesitate to contact us or create an issue in this repo, but do note that this is not intended for public use and may have many hardcoded constants

Contributing

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

Contributions are greatly appreciated.

LICENSE

Important! by downloading the following program you agree to the following LICENSE in the LICENSE file.



Menherachan Hub Menherachan Minihub

Notes & things To Remember

For installing packages/canvas install required dependencies first

// Level to Exp, where "LEVEL" is an integer
Math.floor(LEVEL ** 2 / 0.01);

// Exp to Level, where "EXP" is a positive integer
Math.floor(Math.sqrt(EXP) * 0.1);