Yui serves as a base core for both Discord bots and selfbots. Requires Node.js 6+
$ git clone https://github.com/pyraxo/yui $ cd yui $ npm i $ npm startCreate a new .env file from .env.example and edit the values as desired. Follow .env instructions here
CLIENT_TOKEN- Your bot token goes hereCLIENT_PREFIX- Bot prefixSELFBOT- Set totrueif you intend to use it as a selfbot, disables shardingPROCESS_COUNT- Number of clusters (child processes)SHARDS_PER_PROCESS- Number of shards per process
# Bot options CLIENT_TOKEN=your token here CLIENT_PREFIX=> SELFBOT=true # Sharding options PROCESS_COUNT=1 SHARDS_PER_PROCESS=1 