Due to the way the reconnect is handled, settings.NICKNAME is overwritten if the bot was asked to change its nickname. This leads to an ever increasing number of underscores before the nickname.
I'd probably solve this with introducing a new property on the bot object (nickname), although it does not fit perfectly there.
Due to the way the reconnect is handled, settings.NICKNAME is overwritten if the bot was asked to change its nickname. This leads to an ever increasing number of underscores before the nickname.
I'd probably solve this with introducing a new property on the bot object (nickname), although it does not fit perfectly there.