You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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:
Add better logging for user input
write to DB so that when we crash we don't lose everything???
deploy to Lambda or EC2??? API GATEWAY??? i dunno know, something kinda of API gateway solution through AWS
KNOWN BUGS
When a non-admin user tries to run an admin command, but they have no roles, the bot crashes.
We are getting rate limited for assigning roles, the bot crashes.