sftmumblebot icon indicating copy to clipboard operation
sftmumblebot copied to clipboard

Bot will attempt to relay before connection is established

Open cydactyl opened this issue 11 years ago • 2 comments

(3) mumble: unknown text message sender id: 0
(2) mumble: text message received, sender: unknown
mumble: unknown: <strong>WARNING:</strong> Your client doesn't support the Opus
codec the server is switching to, you won't be able to talk or hear anyone. Plea
se upgrade to a client with Opus support.
(1) irc: could not send text message: <type 'exceptions.Exception'>
(2) irc: Traceback (most recent call last):
(2) irc:   File "C:\Users\SwedFTP\Desktop\BTCBot\AbstractConnection.py", line 21
9, in sendTextMessage
(2) irc:     raise Exception("connection not established")
(2) irc: Exception: connection not established
(2) irc:

cydactyl avatar Aug 05 '13 20:08 cydactyl

the problem here is that the threads run independently. we'd have to wait for the other thread to be connected, or just dump the message. what you can see currently, is the dump.

TheJJ avatar Apr 09 '15 14:04 TheJJ

An other (the ideal?) solution would be to always add messages for relaying to a queue.queue that is read by the bot when it's connected.

mic-e avatar Apr 11 '15 22:04 mic-e