Skip to content

pyraxo/yui

Repository files navigation

Yui

MIT

Yui serves as a base core for both Discord bots and selfbots. Requires Node.js 6+

Installation

$ git clone https://github.com/pyraxo/yui
$ cd yui
$ npm i
$ npm start

Configuration

Create a new .env file from .env.example and edit the values as desired. Follow .env instructions here

  • CLIENT_TOKEN - Your bot token goes here
  • CLIENT_PREFIX - Bot prefix
  • SELFBOT - Set to true if you intend to use it as a selfbot, disables sharding
  • PROCESS_COUNT - Number of clusters (child processes)
  • SHARDS_PER_PROCESS - Number of shards per process

Example .env

# Bot options
CLIENT_TOKEN=your token here
CLIENT_PREFIX=>
SELFBOT=true

# Sharding options
PROCESS_COUNT=1
SHARDS_PER_PROCESS=1

Documentation

Releases

No releases published

Packages

No packages published