get channel list to join from settings
This commit is contained in:
parent
a527e0dd0f
commit
84f79572b0
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue