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
- Host: GitHub
- URL: https://github.com/romtypo/discord-admin
- Owner: ROMTypo
- Created: 2018-04-04T02:15:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-09T23:31:54.000Z (about 7 years ago)
- Last Synced: 2025-01-09T07:11:57.550Z (5 months ago)
- Language: HTML
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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