Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel configuration should be stored in database #45

Open
cpruitt opened this issue Mar 17, 2022 · 0 comments
Open

Channel configuration should be stored in database #45

cpruitt opened this issue Mar 17, 2022 · 0 comments

Comments

@cpruitt
Copy link
Collaborator

cpruitt commented Mar 17, 2022

Currently making a channel config change requires editing config/matchmaking.yml. We'd like to make it possible to use slash commands but yaml prevents that. Moving config into the database is a first step in working on that command.

Proposed Solution (Not tied to this / Open to better options)

Perhaps we consider creating a SlackChannel model that can be looked up by either Channel name or Slack Channel ID. (whichever is better). That model can have a #config attribute stored in the DB as a JSON column. We would use this in place of the current matchmaking initialization's use of YAML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant