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

Custom Messages #30

Open
jorivanee opened this issue Jan 14, 2018 · 2 comments
Open

Custom Messages #30

jorivanee opened this issue Jan 14, 2018 · 2 comments

Comments

@jorivanee
Copy link
Contributor

Currently all the messages are hard-coded in the /queuebot/utils/messages.py file, however, what if I'd want to change the channel for SUGGESTION_APPROVED to my own channel? I'd have to edit that file, which would make it annoying to update due to git.
Maybe there should be like an optional constants.py in the root dir, if the user makes it, they can override any of the messages, so if you'd have BAD_SUGGESTION_MSG in the constants.py, it would use that one instead of the messages.py's one, but it would still use the messages.py for others ones seeing as they wouldn't be in the constants.py

@jorivanee
Copy link
Contributor Author

Oh, didn't see you referenced an issue, well, that doesn't allow you to customize https://github.com/BlobEmoji/queuebot/blob/master/queuebot/utils/messages.py

@7bitlyrus
Copy link
Member

The referenced PR says using YAML may be useful for a solution for this issue, not that it addresses this issue.

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

3 participants