An open API service indexing awesome lists of open source software.

https://github.com/romtypo/discord-admin

Admin page for discord bots
https://github.com/romtypo/discord-admin

Last synced: 3 months ago
JSON representation

Admin page for discord bots

Awesome Lists containing this project

README

        

# Discord Bot Admin Page
Allows you to see stats for your Discord Bot. Works with all Discord Bot API's.

## How to use
1. Require the package
```js
var DiscordAdmin=require("discord-admin");
```
2. Create the class & run the webserver on port 3000
```js
var DiscordAdmin=require("discord-admin");
var Admin=new DiscordAdmin(3000);
```
3. Add actions
```js
// ... command `a` ...
Admin.addCommand("a");
// ... joins guild ...
Admin.addGuild();
// ... leaves guild ...
Admin.removeGuild();
```
4. Run & Visit localhost:3000