You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cinch::Bot#last_conection_error [StandardError, nil]: the exception that occurred in the last connection.
Changed
Cinch::Bot#start returns whether the last connection was successful.
This is useful for host applications to show messages after connection errors.
Returns true if the last connection was successful (e.g. after calling Cinch::Bot#quit).
Returns false after giving up the connection to an IRC server due to errors.
Cinch::Bot#quit quits the bot more gently using the thread for quitting bot.
You can now call Cinch::Bot#quit in signal handlers without a ThreadError.
This is based on cinchrb/cinch#195.
Cinch::Utilities::Encoding.encode_incoming always encodes incoming messages to UTF-8.
Cinch bots can now connect to IRC servers that use a non-UTF-8 encoding (e.g. ISO-2022-JP) without encoding-related exceptions.
Method calls passing a Hash as the last argument are modified to pass keyword arguments to suppress warnings in Ruby 2.7.