WelcomeBot icon indicating copy to clipboard operation
WelcomeBot copied to clipboard

Extract OpenHatch-specific details in a configuration file

Open jdm opened this issue 10 years ago • 4 comments

There are lots of Python constants that could be moved into a configuration file instead of being hardcoded. This would make configuring a non-OpenHatch bot easier, and allow staying up to date with changes to WelcomeBot without having to merge.

jdm avatar Nov 18 '14 14:11 jdm

This is an excellent point. We already have to do a bit of set-up to avoid this issue with the generated nickname file, so we can easily accommodate setting up a separate config file. Labelling and accepting this. Do you want to work on this yourself?

shaunagm avatar Nov 18 '14 16:11 shaunagm

I'm considering it, since I'd like to run a bot for Servo's IRC channel. I'll leave a note here if I start working on it.

jdm avatar Nov 18 '14 18:11 jdm

Began work on this (PR #49). Open for critique :)

aaparella avatar Nov 21 '14 07:11 aaparella

As I mentioned in IRC to @shaunagm I'm expecially interested in being able to configure the welcome message in a config file.

@aaparella I don't see that at https://github.com/aaparella/WelcomeBot/blob/configparser/settings.ini from a quick look. Would you be able to add the ability to put the welcome message in the config file?

pdurbin avatar Nov 26 '14 01:11 pdurbin