Coder Social home page Coder Social logo

korsinemi / tsuyo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ddinan/tsuyo

0.0 0.0 0.0 3.52 MB

๐Ÿค– A light-weight and easy-to-use modular Discord bot built with DiscordJS.

Home Page: http://tsuyo.xyz

License: MIT License

Shell 0.02% JavaScript 90.34% CSS 2.31% Makefile 0.03% Batchfile 0.01% Dockerfile 0.05% EJS 7.23% Procfile 0.01%

tsuyo's Introduction


A light-weight, multi-purpose Discord bot built with Discord.js.

Features

  • Currency/points system
  • XP levelling
  • Per-guild settings
  • Fun games and commands
  • Moderation and logging
  • Helpful community and quality support

Installation:

A couple of dependencies you will need: NodeJS - A JavaScript runtime, it also has NPM built-in.

Once NodeJS is installed, install the npm dependencies in the windows command prompt.

  • cd [folder where the package.json is]
  • npm install

Now that the hard part is over, installation is a simple as a couple of clicks (and patience depending on your internet speed). Simply fork or download the repository and then execute this in the windows command prompt.

  • cd [folder where bot.js is]
  • node bot

Setting up the bot:

By default, the only thing you will need to edit in .env is the bot's token. If you're not sure on how to get a bot token, you can follow this tutorial made by our friends over at Reactiflux.

TOKEN=SEE-ABOVE-IF-NOT-SURE

Optionally, you can edit the other stuff too if you want to add DBL voting and server count and dashboard.

Setting up the dashboard with MongoDB

Setting up the dashboard is disabled by default, only follow these steps if you plan on hosting the dashboard.

  1. Create a free account with MongoDB.
  2. Create a new cluster using either premium or free plans.
  3. After the cluster has been created, click connect.

  1. Set up credentials and then click on Choose a connection method. Remember your <dbUser> and <dbUserPassword> values, we will be using them later.

  1. Select Connect with the MongoDB shell.

  1. Grab your <dbName> and <identifier> values from here, we will be using them shortly.

  1. After MongoDB has been set up, navigate to your .env file located where the bot folder is and add the following line into it. Replace <dbUser>, <dbUserPassword>, <dbName> and <identifier> with the values you have set up with MongoDB. MONGODB_HOST=mongodb+srv://<dbUser>:<dbUserPassword>@<dbName>.<identifier>.mongodb.net/database?retryWrites=true&w=majority
  2. Run the bot and the dashboard should be running.

Contributing guidelines:

You can find information on editing files, pull requests, merge requests and issues here.

Don't want to host the bot yourself?

We have a public instance of the bot which you can add to your Discord here.

Having problems?

Why not join the official Tsuyo Bot Support Discord? With lots of things to do and loads of members to chat with, it's one of the most friendly places on the internet... sorta.

tsuyo's People

Contributors

dependabot[bot] avatar ddinan avatar felixfong227 avatar vilot avatar pistasjis avatar neko-is-kitty avatar wzhouwzhou avatar icreatedthistodeletemyaccounts avatar rhino149 avatar x0r1 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.