Update snekbot.
This commit is contained in:
parent
bec48eb574
commit
589b0468f5
@ -63,7 +63,6 @@ class Bot:
|
|||||||
logger.debug("Found channel: " + channel["name"])
|
logger.debug("Found channel: " + channel["name"])
|
||||||
self.user = (await (await rpc.get_user(None))())
|
self.user = (await (await rpc.get_user(None))())
|
||||||
logger.debug("Logged in as: " + self.user["username"])
|
logger.debug("Logged in as: " + self.user["username"])
|
||||||
self.join_conversation = False
|
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
@ -100,4 +99,4 @@ class Bot:
|
|||||||
logger.debug("Event unhandled regarding message: " + data.message)
|
logger.debug("Event unhandled regarding message: " + data.message)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
logger.exception(ex)
|
logger.exception(ex)
|
||||||
break
|
|
||||||
|
Loading…
Reference in New Issue
Block a user