Skip to content

meldeleon/COLmmunityBot

Repository files navigation

COLmmunity chat bot v1.0.0

About

COLmmunity chat bot is a bot created for Complexity's community nights. It's primary purpose is to facilitate community night games such as faction wars, zombies, and protect the president!

FACTION Commands

command description arguments permissions
/faction creates factions number of factions (int) admin
/assign assigns a specific user to a specific faction user(obj), faction name (str) admin
/unassign unassigns a user from all factions user (obj) admin
/assign_all assigns the maximumum number of users from queue to a faction admin
/unassign_all clears all faction assignments, doesn't clear queue admin
/reset resets all factions and queue admin
/clear_queue clears queue, but not faction assignments admin
/start_war locks faction assignments, assigns faction roles, sends out voice invites admin
/reset_roles resets all roles for users in queue admin
/print_queue prints current queue admin

USER Commands

command description arguments permissions
/join command to join a faction war user
/print_factions prints all current factions assignments users

Dev notes

  1. Please note that the current version 1.0.0 relies entirely on app cache and has no persistent database. There does exist a file for db.js that contains dynamoDB methods and pushes the items that exist in app cache to a DB. We plan to move from app cache to a cloud-based DB at a future version.

STUFF TO DO:

  1. Add better logging for user input
  2. write to DB so that when we crash we don't lose everything???
  3. deploy to Lambda or EC2??? API GATEWAY??? i dunno know, something kinda of API gateway solution through AWS

KNOWN BUGS

  1. When a non-admin user tries to run an admin command, but they have no roles, the bot crashes.
  2. We are getting rate limited for assigning roles, the bot crashes.

About

Discord Bot for COLmmunity Nights

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published