This repository utilizes Express with various API endpoints to create Discord Bots capable of serving different purposes.
- Supports the management of multiple bots, from a single user to multiple users. (Tested in a simulated scenario, not in a real-world environment)
- Implemented a security feature that disables the bot token after three consecutive login failure attempts. The token will remain disabled until corrected by the user through the API endpoint. (Future updates will allow automatic reactivation of the token upon successful user submission.)
- Provides support for various JavaScript commands stored in the
"./commands"
folder. - Implemented an automatic restart mechanism for the bot in case of failures or errors.
Future enhancements will include webhook integration to notify designated management Discord or Telegram channels, facilitating prompt issue resolution.
Endpoint to create new Discord bots.
Endpoint to fetch information about existing Discord bots.
Endpoint to delete Discord bots.
The following API endpoints will be implemented for Discord integration:
Endpoint to interact with Discord API using various HTTP methods.
- POST "/api/v1/discord/users/@me" will access "https://discord.com/api/v10/users/@me"
- PUT, GET, DELETE, PATCH endpoints will also be supported.
All endpoints return responses in JSON format, containing essential information. (EXCEPT Discord API)
{
"success": true or false,
"message": "something here",
// something additional....
}