irisariuan / amhra

A Discord music bot. Use the bot with https://github.com/irisariuan/amhraDashboard
Apache License 2.0
0 stars 0 forks source link

Amhra

Amhra, a bot designed for smooth music playing experience in Discord

Installation and building the project

Bun

bun install
bunx tsc

NPM

npm i
npx tsc

Setting Up

Setup with CLI

Node

node dist/tools/setting.js

Bun

bun dist/tools/setting.js

Follow instructions and finish setup


Manual Setup

Set TOKEN to your custom token and PORT to desired port

If you want to run tweak it and run it on your testing bot, you may also set TESTING_TOKEN and TEST_CLIENT_ID

Set CLIENT_ID to your bot application ID for command registration, then run node tools/register.js or bun tools/register.js to register commands

If you want to limit API usage, you may enable rate limit for the ENABLE_RATE_LIMIT option

You may replace AUTH_TOKEN with tool/hash.js

The default token for AUTH_TOKEN is amhraBotDashboard

Misc

This project is built with Amhra Dashboard, make sure you check out the dashboard there!

Start

Node

node dist/main.js

Bun

bun dist/main.js


Enjoy your bot!