- Notifications
You must be signed in to change notification settings - Fork0
Reg Bot—Bespoke Discord-management bot for a Made in Abyss roleplay server
License
alpatron/reg-bot
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Reg Bot was made to automate certain administratory task on theMade In Abyss RP roleplay Discord server. The tasks being:
- Displaying an activity report of players with active characters to see which players are inactive. (It displays the last time a player has posted.)
- Archiving player characters on demand.
- Splitting a piece of text from Pastebin into chunks of less or equal to 2,000 characters. (For those really long RP posts.)
- A stupid function which makes Reg say "irredeemable".
The bot is fully configurable as all configurations are stored in an external database.
If you are a member of our server, don't hesitate to try to improve Reg Bot. If you aren't, well, I don't think this bot would be of much use to you, but I dunno, it might.
Reg Bot is coded in Python using thediscord.py library, it uses a Postgres database to store its configuration, to which it connects using theasyncpg library, and it is deployed—to the dismay of many discord.py developers—on Heroku (hey, it works; don't judge).
To run RegBot, you need to have these environment variables set:
DATABASE_URL— The URL pointing to the database where the bot configuration is stored. It should be a Postgres database and the string should conform to thedsnspecification in theasyncpglibrary.REG_BOT_KEY— Your Discord bot key
I was too lazy to a create a database-initialisation function or to create a database dump, so here's at least the schema of the database tables:
| column name | column info |
|---|---|
| id | integer(auto-increment;primary key) |
| name | character varying[64] |
| value | character varying[64] |
| column name | column info |
|---|---|
| id | integer(auto-increment;primary key) |
| channel_id | character varying[64] |
| column name | column info |
|---|---|
| id | integer(auto-increment;primary key) |
| role_id | character varying[64] |
| column name | column info |
|---|---|
| id | integer(auto-increment;primary key) |
| role_id | character varying[64] |
About
Reg Bot—Bespoke Discord-management bot for a Made in Abyss roleplay server
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.