Update drug_bot.py
This commit is contained in:
parent
14189203ca
commit
7b7f2020d1
@ -101,8 +101,6 @@ server = "irc.freenode.net"
|
|||||||
channel = "#lainchan"
|
channel = "#lainchan"
|
||||||
botnick = "drug-bot"
|
botnick = "drug-bot"
|
||||||
password = ""
|
password = ""
|
||||||
|
|
||||||
responses = ["test1", "test2", "test3"]
|
|
||||||
#all bytes must be converted to UTF-8
|
#all bytes must be converted to UTF-8
|
||||||
def joinchan(chan):
|
def joinchan(chan):
|
||||||
ircsock.send(bytes("JOIN "+ chan +"\n", "UTF-8"))
|
ircsock.send(bytes("JOIN "+ chan +"\n", "UTF-8"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user