get channel list to join from settings

This commit is contained in:
Thomas Steen Rasmussen 2017-07-03 20:05:12 +02:00
parent a527e0dd0f
commit 84f79572b0

View file

@ -11,7 +11,7 @@ def do_work():
""" """
config = { config = {
'nick': settings.IRCBOT_NICK, 'nick': settings.IRCBOT_NICK,
'autojoins': [settings.IRCBOT_SCHEDULE_ANNOUNCE_CHANNEL], 'autojoins': [set(settings.IRCBOT_CHANNELS.values())],
'host': settings.IRCBOT_SERVER_HOSTNAME, 'host': settings.IRCBOT_SERVER_HOSTNAME,
'port': settings.IRCBOT_SERVER_PORT, 'port': settings.IRCBOT_SERVER_PORT,
'ssl': settings.IRCBOT_SERVER_USETLS, 'ssl': settings.IRCBOT_SERVER_USETLS,