Giter Site home page Giter Site logo

kurisu's Introduction

Bot logo

Kurisu

Build Status Platform GitHub Issues GitHub Pull Requests License

Getting Started

Prerequisites

Guide

In order to start the bot, you first need to configure the configurations found in data/config/.

Rename both config files and remove the example from the name.

bot-example.json -> bot.json

db-example.json -> db.json

Then fill out both configurations according to help below:

Bot Config

{
	"developers": [], // Array of objects containing name. Metadata for info command
	"developerIds": [], // Array of string ids. Metadata for info command
	"libraryVersion": "", // Version of eris used. Metadata for info command
	"color": "", // Required: Hex value for colour. Example: 0x7289da
	"xpMoneyEnabled": true, // Required: Whether or not xp is enabled to gain or not.
	"defaultPrefix": "", // Required: Default prefix to fall back to if not using custom
	"botToken": "", // Required: Discord API Bot token
	"devToken": "", // Only used if production is set to false in bot.ts
	"googleApiKey": "", // Required if you want to use any of google's services in the bot.
	"googleCustomSearchId": "" // Required if you want to use google command 
}

DB Config

{
	"databaseHost": "", // URL or ip for where the database is hosted. If it is on the same machine, it's likely localhost
	"databaseName": "", // Name of database to use
	"databaseUsername": "", // Username
	"databasePassword": "", // Password
	"databaseType": "" // At the moment, this needs to be set to "mysql", but in the future, maybe other types will be supported.
}

Once everything is filled out, building and running the bot is simply

npm install
tsc
node build/bot.js

If you want to set this up for production, setting it up with something like PM2 is recommended.

⛏️ Built Using

✍️ Authors

See also the list of contributors who participated in this project.

🎉 Acknowledgements

  • @Kylelobo for creating templates for readmes which you can find Here

kurisu's People

Contributors

dependabot[bot] avatar tromodolo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.