Fix a bunch of bot code and checkin systemd files

This commit is contained in:
RussellChamp committed 2018-11-01 11:05:52 -04:00
1 parent 6770c70068
commit 2a2ed1e064
26 files changed
+222 -137

No files matched your search

+5 -1
View File
@@ -41,7 +41,11 @@ def connect(ircsock, options):
mode = "MODE +B {}\r\n".format(options.nick).encode()
print(mode)
ircsock.send(mode)
joinchan(ircsock, options.channel)
if 'channels' in options:
for channel in options.channels:
joinchan(ircsock, channel)
else:
joinchan(ircsock, options.channel)
# integer number to english word conversion