Fix ASCII encoding issues and add robust error handling
- Add comprehensive UTF-8 decoding error handling for IRC messages - Implement robust error handling for all command processing - Add network connection error resilience - Add database operation error handling - Ensure bot doesn't crash on any input or network issues - Maintain original duck hunt functionality without feature additions
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"duck_spawn": [
|
||||
"・゜゜・。。・゜゜\\_O< {bold}QUACK!{reset}",
|
||||
"・゜゜・。。・゜゜\\_o< {light_grey}quack~{reset}",
|
||||
"・゜゜・。。・゜゜\\_O> {bold}*flap flap*{reset}"
|
||||
"・゜゜・。。・゜゜\\_O< {bold}QUACK!{reset}",
|
||||
"・゜゜・。。・゜゜\\_o< {light_grey}quack~{reset}",
|
||||
"・゜゜・。。・゜゜\\_O> {bold}*flap flap*{reset}"
|
||||
],
|
||||
"duck_flies_away": "The {bold}duck{reset} flies away. ·°'`'°-.,¸¸.·°'`",
|
||||
"bang_hit": "{nick} > {green}*BANG*{reset} You shot the duck! [{green}+{xp_gained} xp{reset}] [Total ducks: {bold}{ducks_shot}{reset}]",
|
||||
|
||||
Reference in New Issue
Block a user