-
Notifications
You must be signed in to change notification settings - Fork 50
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
add option to config so "nameless's trivia bot" string will show admin name #65
Comments
How will you handle the case when there's more than 1 admin? |
I figure I'd just pull the first name in the ADMINS list. Only 1 name can be used for the string "I'm xxx's trivia bot." That's not going to change. Unless the string is changed: "This trivia bot belongs to: admin1, admin2, ..." |
We could just make a new variable called |
Sounds like a good idea to me. If I understand you right, it would look like this: And in trivia.py, the variable config.OWNER would be added to the config.ADMINS list |
One thing I was confused about, now that I know you've used 'nameless' as a nick, was the intention for that string to show the author of the bot? Early on, I assumed that was meant to be manually changed by whoever is running the bot. And actually, what I had planned for the version option (#64) and help (#12) is to show the author (you) and project home page - either when just the ?help option was used, or ?version was used, and also when the bot first joins the room. |
In the beginning, it was one-in-the-same, and I had no intention of anything one way or another. It makes sense to have an OWNER on any network the bot is running, and putting a link to this github repo in ?version is a good reference for anyone looking for the source of the code. |
If you'd like this feature added, I'll take care of it.
The text was updated successfully, but these errors were encountered: