- node.js v12.19.0
- discord.js ^12.5.1
- Apache cassandra 3.3 - 4.0
Clone
$ git clone https://github.com/SaintMiner/uno-chi.git
Install packages
$ npm i
Run
$ npm run start
# on development
$ npm run dev
- Set the alert channel
!!guild set channel -alert <Text channel ID>
# to remove use
!!guild set channel -alert 0
- Set the rooms which will give experience
!!voice room create -id <Voice channel ID> -exp <XP amount per 9 seconds> -mining <voicepoints amount per hour>
# to check voice room
!!voice room info <channel id>
# to remove voice room
!!voice room remove <channel id>
- Set the levels on which users will get their roles
!!voice level create -level <Level> -add <Roles> -remove <Roles>
# Level formula: (10 + level) * 10 * level * level
# to view all levels and his roles
!!voice level
# to remove level
!!voice level remove <id>
- You can change language
!!guild set language <language>
# Availabled: [ en, ru ]
- You can give manualy voicepoints or voicexp to your members
!!voice add voicepoints @person <amount>
!!voice add voicexp @person <amount>
# negative numbers also supported
- Get info
!!info
!!info @person
!!top voicepoints/voicelevel/time (default: voicelevel)
# Voice points are used for subextensions like gamble
# Voice points Formula: 10 * level on each level up (1 level = +10, 2 level = +20)