Closed JakubNvk closed 8 years ago
@JakubNvk I'm not sure whether I missed it or not, but there should also be an event
type function to actually welcome users on channel, am I right?
@pepol oh right, I completely forgot about that :D
@JakubNvk I get what you tried to do here but I'd like you to also consider my view on this.
First of all, I believe that the relevant lines below this one should be removed. Secondly, I think that the best way of giving the plugin user a way of changing the welcome messages should be via editing the config.py
file which should really be the single entry point for changing any configuration of brutal plugins. You can acces the confing in a similar way weather.py
plugin does (https://github.com/mrshu/brutal-plugins/blob/master/weather.py#L84).
Since your PR enables everyone to set their own welcome mesages, a good question is which welcome (user specified or config specified) should be used? My personal stance is that the welcome messages are the priviledge of the bot adinistrator. I am not sure how to merge these two data sources, unless we come up with a way of saving altered values back to the config.py
file.
@JakubNvk @pepol @Adman what do you think?
Issue: #77 To: @mrshu