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

https://github.com/probablyarth/tnb-ecosystem-bot

A discord bot for TNB Community projects and services
https://github.com/probablyarth/tnb-ecosystem-bot

Last synced: over 1 year ago
JSON representation

A discord bot for TNB Community projects and services

Awesome Lists containing this project

README

          


TNB-Ecosystem-Bot


A discord bot for TNB Community projects and services

About TNB Ecosystem Bot

TNB Ecosystem bot is a utility discord bot for auto moderation of discord links and serves as a projects API wrapper for discord.

#### Contributing
- Clone the repo.

- Install all the requirements using `pip install -r requirements.txt`

- Make a .env file in the root folder.

- Set the required environment variables.
```shell
TNB_DISCORD_TOKEN = "Discord Bot Token" (string type)
SUPERUSERS = Discord IDs of SUPERUSERS in a list , ids should be (integer) type, ex:- [Id of SUPERUSER1, Id of SUPERUSER2, etc.]
BOT_MANAGER_ID = Discord ID of the Bot manager/developer, Bot manager has access to /kill command (integer) type.
```

#### Commands

`/whitelist add`: Add a server to the whitelist. (SUPERUSER ONLY)

`/whitelist remove`: Remove a server from the whitelist. (SUPERUSER ONLY)

`/whitelist all`: Show all the servers in the whitelist.

`/project all`: List of all TNB Projects

`/project show `: Know more about a specific project (PROJECT NAME SHOULD BE PRECISELY ACCURATE AS SHOWN IN THE LIST)