This is my fun project. I don't recommend using it on a large scale or even monetizing it.
- Node.js.
- Discord Bot Application Setup.
- Database. This project uses SQLite.
- You can use any database that is supported by Prisma. However, make sure you adjust the Prisma schema file and its migration.
.env
file. See.env.example
for example.
- Create an
.env
file based on the.env.example
file. - Run
npm install
. - Run
npx prisma db push
to deploy the Prisma schema to the database without using migrations. Read more.- You can use
npx prisma migrate deploy
to deploy existing migrations history to the database. Read more.
- You can use
- Run
npx prisma db seed
to populate the database with the License type and License code example. Read more. - Run
npx prisma generate
to generate the Prisma Client. Read more. - Run
npm run deploy-commands-global
to register the Discord slash commands globally.- You may want to use
npm run deploy-commands-guild
to register the commands guild specific (for development purposes). Read more.
- You may want to use
- Run
npm start
to start the bot.
Add new Steam account to boost.
username
- Required. Steam account username.password
- Required. Steam account password.shared_secret
- Optional. Steam account shared secret.
List all available Steam accounts.
Set Steam Guard code for specific Steam account.
username
- Required. Steam account username.code
- Required. Steam Guard code.
Start boosting specific Steam account.
username
- Required. Steam account username.
Restart boosting. Include username to restart specific account.
username
- Optional. Steam account username.
Stop boosting specific Steam account.
username
- Required. Steam account username.
Remove specific Steam account.
username
- Required. Steam account username.
View user info.
Register your Discord account using license key.
license_key
- Required. License key to register.
Change existing license key.
license_key
- Required. Your new license key.
Configure the games to boost for specific Steam account. Separate multiple App IDs with a comma. Example: 730,570,440.
username
- Required. Steam account username.games
- Required. Games AppID.
Configure the online status for specific Steam account.
username
- Required. Steam account username.status
- Required. Boolean true or false.
Configure the shared secret for specific Steam account to be used for Steam Guard Authentication.
username
- Required. Steam account username.shared_secret
- Optional. Steam account shared secret.
The slash command in this section can only be used by the Discord admins (bot creators) specified in the .env
file.
Generate new license key.
type
- Required. Type of license key to be created.amount
- Required. Amount of license key to be created.