A Sky CotL Discord Bot
Website • Dashboard • Invite • Vote • Docs • Support Server
- 🌋 Shards
- 🗓 Shards calendar
- 🧮 Seasonal currency calculator
- 🕑 In-game events times and countdowns
- ⏰️ Reminders (Geyser, Grandma, etc...)
- 🟢 Live Updates
- 🈯️ Supports mulitple language (help us support more)
- and much more...
- Clone this repository by running
git clone https://github.com/imnaiyar/SkyHelper
- Rename
example.env
to.env
and fill all the required fields. (We have CLI to streamline this process. Runnpm run setup
and it'll setup the .env file for you) - Install the required deps by running
pnpm install --frozen-lock
- Run
pnpm build:prod
to build the project - Run
pnpm commands:prod
to register the slash commands. - Run
pnpm start
to start the project
Important
If you plan to use live updates/Reminders feature, you'll have to also host/run skyhelper-jobs as cron jobs to send the reminders/updates are hosted on a different process to reduce the load on the main bot. Intructions to set it up is given on the repo's README
Only backend is hosted with the bot, front-end is a closed-source, unless you can build your own front-end, it's better if you disable it before running the bot
src > config.ts
DASHBOARD: {
enabled: false,
...//
}
Endpoints available for the dashboards are:-
Get guild info (dashboard > types.ts > GuildInfo
)
Respond 404 or null if bot hasn't joined the guild
Get Feature options (dashboard > types.ts
)
Respond 404 if not enabled
Update feature options
With custom body (defined in dashboard > types.ts > Features[K]
)
Respond updated feature options
Enable a feature
Disable a feature
Get Roles of the guild Responds a list of Role Object (Same as discord documentation)
Get Channels of the guild Responds a list of Guild Channel (Same as discord documentation)