Git Product home page Git Product logo

sekai's Introduction

Sekai * 世界

A multipurpose Discord bot.

this project was discontinued in 2021 and archived in 2024.

Usage

  • You can execute commands by putting / at the beginning.
  • Example: /info user @acedron#5561
  • See /help for more information.
  • See /commands for available commands.

Command Syntax Guide

Syntax Meaning Example Example Usage
/command Base of the command. /help /help
<> Required argument. /osu profile get <profile_id> [mode] /osu profile get profile_id: 10734834
[] Optional argument. /info user [@user] /info user user: @acedron#5561
argument Any argument. /osu profile set <profile_id> /osu profile set profile_id: 0
@argument Mention user. /osu profile user [@user] [mode] /osu profile user user: @acedron#5561
@&argument Mention role. /autorole <@&role> /autorole role: @role
#argument Mention channel. /logs <scope> <#channel> /logs scope: General Logs channel: #logs

Installation for Development

  • You can install the bot locally and develop it further.
  • You need to have node, git and npm installed.
$ git clone https://github.com/jn-sena/sekai.git
$ cd sekai
$ npm i
  • Create a file named tokens.json in the directory and fill in like following.
  • You can download the firebaseCredentials from Firebase as a JSON file.
{
  "nightly": false,
  "nightlyServer": "Server ID that Nightly is in if Present",
  "clientToken": "Client Token",
  "clientId": "Client ID to Use with APIs.",
  "topggToken": "top.gg API Token",
  "firebaseCredentials": {
    "type": "service_account",
    "project_id": "Firebase Project ID",
    "private_key_id": "Firebase Private Key ID",
    "private_key": "Firebase Private Key",
    "client_email": "Firebase Client E-Mail",
    "client_id": "Firebase Client ID",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_x509_cert_url": "Firebase Client Cert URL"
  },
  "osu": {
    "clientId": 0,
    "clientSecret": "osu! API Client Secret"
  }
}

You can start the bot with the following command.

$ npm start

sekai's People

Contributors

jn-sena 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.