A Utility Discord Bot https://15318.de/bampersand
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
deing 88bff79c09
Fix oudated documentation
1 week ago
.vscode Add b&ops killfile 2 weeks ago
spec Some Refactoring 1 month ago
src Fix oudated documentation 1 week ago
.env.example Some cleanup 4 months ago
.gitignore Switch to dotenv for configuration 4 months ago
CONTRIBUTING.md Follow my own formatting guidelines 4 months ago
LICENSE Intial Commit 5 months ago
README.md Add Role Kiosk Functionality 1 week ago
shard.lock Add Role Kiosk Functionality 1 week ago
shard.yml Add reaction templating for rolekiosk 1 week ago

README.md

Bampersand

Simple Utility Bot for Discord written in Crystal and discordcr. See the project wiki for documentation.

Development

Adapt .env.example to your needs and rename it to .env. It’s gitignored by default. Create a sqlite3 database called bampersand.sqlite3 with the following tables:

  1. create table state (guild_id unsigned integer unique on conflict replace, features unsigned integer, mirror_in unsigned integer, mirror_out unsigned integer, board_emoji string, board_channel unsigned integer, board_min_reacts unsigned integer, join_channel unsigned integer, join_text string, leave_channel unsigned integer, leave_text string);
  2. create table board (source_message unsigned integer unique on conflict replace, board_message unsigned integer);
  3. create table tags (guild_id unsigned integer, name string, content string, constraint yikes unique (guild_id, name) on conflict replace);
  4. create table slowmodes (channel_id unsigned integer unique on conflict replace, secs unsigned integer);
  5. create table warnings (guild_id unsigned integer, user_id unsigned integer, mod_id unsigned integer, text string, timestamp date default current_timestamp);
  6. create table perms (guild_id unsigned integer unique on conflict replace, admin_id unsigned integer, moderator_id unsigned integer);
  7. create table killfile (guild_id unique on conflict replace);
  8. create table role_kiosks (message_id unsigned integer unique on conflict replace, data string);

Contributing

This project is located on Gitea and all commits are mirrored to GitLab and GitHub for discoverability and easier contributions. The issue tracker is exclusively on Gitea.

  1. Log in on Gitea using your favourite platform and fork or fork directly from your favourite platform.
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Please follow the guidelines in CONTRIBUTING.md.

Contributors

  • deing - creator and maintainer