Fix a few crashes in chat-commands
Fix a few crashes in chat-commands

Evil-kun/Pokemon-Showdown,SkyeTheFemaleSylveon/Mudkip-Server,Firestatics/omega,Hidden-Mia/Roleplay-PS,zek7rom/SpacialGaze,UniversalMan12/Universe-Server,Hopenub/Pokemon-Showdown,lFernanl/Pokemon-Showdown,comedianchameleon/servertest1,Volcos/SpacialGaze,PrimalGallade45/Dropp-Pokemon-Showdown,Adithya4Uberz/KTN,SSJGVegito007/Vegito-s-Server,EmmaKitty/Pokemon-Showdown,DarkSuicune/Kakuja-2.0,LegendBorned/PS-Boilerplate,TheFenderStory/Showdown-Boilerplate,gustavo515/batata,SerperiorBae/Bae-Showdown,SolarisFox/Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,Ridukuo/Test,HoeenKid/Pokemon-Showdown-Johto,DalleTest/Pokemon-Showdown,svivian/Pokemon-Showdown,AustinXII/Pokemon-Showdown,ZestOfLife/PSserver,RustServer/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,Atwar/server-epilogueleague.rhcloud.com,Mystifi/Exiled,sama2/Universe-Pokemon-Showdown,Mystifi/Exiled,yashagl/pokecommunity,Firestatics/Omega-Alpha,hayleysworld/harmonia,Extradeath/psserver,Elveman/RPCShowdownServer,gustavo515/final,TheFenderStory/Pokemon-Showdown,KaitoV4X/Showdown,UniversalMan12/Universe-Server,Breakfastqueen/advanced,Pablo000/aaa,PauLucario/LQP-Server-Showdown,forbiddennightmare/Pokemon-Showdown-1,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,svivian/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,megaslowbro1/Showdown-Server-again,megaslowbro1/Pokemon-Showdown,Sora-League/Sora,ShowdownHelper/Saffron,Elveman/RPCShowdownServer,bai2/Dropp,superman8900/Pokemon-Showdown,JellalTheMage/PS-,FakeSloth/Infinite,AbsolitoSweep/Absol-server,AWailOfATail/awoat,LightningStormServer/Lightning-Storm,Darkshadow6/PokeMoon-Creation,ZeroParadox/ugh,hayleysworld/serenityc9,MasterFloat/Pokemon-Showdown,hayleysworld/Pokemon-Showdown,AvinashSwaminathan/Pokelegends,ZeroParadox/BlastBurners,QuiteQuiet/Pokemon-Showdown,sama2/Universe-Pokemon-Showdown,BadSteel/Pokemon-Showdown,ehk12/coregit,TheManwithskills/Server---Thermal,MeliodasBH/boarhat,xCrystal/Pokemon-Showdown,iFaZe/SilverZ,megaslowbro1/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,TheManwithskills/Server,JellalTheMage/PS-,PrimalGallade45/Lumen-Pokemon-Showdown,azum4roll/Pokemon-Showdown,miahjennatills/Pokemon-Showdown,Articuno-I/Pokemon-Showdown,AWailOfATail/awoat,urkerab/Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,xfix/Pokemon-Showdown,ZestOfLife/FestiveLife,JellalTheMage/Jellals-Server,ShowdownHelper/Saffron,Syurra/Pokemon-Showdown,javi501/Lumen-Pokemon-Showdown,DesoGit/Tsunami_PS,forbiddennightmare/Pokemon-Showdown-1,Pikachuun/Joimmon-Showdown,lAlejandro22/lolipoop,Extradeath/psserver,HoeenCoder/SpacialGaze,ehk12/clone,catanatron/pokemon-rebalance,jd4564/Pokemon-Showdown,TheDiabolicGift/Showdown-Boilerplate,Gold-Solox/Pokemon-Showdown,Johto-Serverr/Werfin-Boilerplate,Bryan-0/Pokemon-Showdown,Nineage/Origin,FakeSloth/wulu,SerperiorBae/Bae-Showdown,JennyPRO/Jenny,sirDonovan/Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,MayukhKundu/Technogear-Final,Vacate/Pokemon-Showdown,TogeSR/Lumen-Pokemon-Showdown,sama2/Lumen-Pokemon-Showdown,TheManwithskills/New-boiler-test,Gold-Solox/Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,Legendaryhades/Oblivion,CreaturePhil/Pokemon-Showdown,TheManwithskills/DS,SubZeroo99/Pokemon-Showdown,Git-Worm/City-PS,svivian/Pokemon-Showdown,asdfghjklohhnhn/Pokemon-Showdown,hayleysworld/serenity,CreaturePhil/Showdown-Boilerplate,RustServer/Pokemon-Showdown,InvalidDN/Pokemon-Showdown,Ransei1/Alt,hayleysworld/serenityc9,bai2/Dropp,ZeroParadox/BlastBurners,k3naan/Pokemon-Showdown,KewlStatics/Alliance,TogeSR/Lumen-Pokemon-Showdown,Zarel/Pokemon-Showdown,hayleysworld/Showdown-Boilerplate,PauLucario/LQP-Server-Showdown,panpawn/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,TheManwithskills/Server-2,ehk12/bigbangtempclone,hayleysworld/Pokemon-Showdown,Pikachuun/Touhoumon-Showdown,SerperiorBae/Bae-Showdown-2,SilverTactic/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,sama2/Lumen-Pokemon-Showdown,DalleTest/Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,LustyAsh/EOS-Master,Zarel/Pokemon-Showdown,Wando94/Pokemon-Showdown,Flareninja/Pokemon-Showdown-1,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,UniversalMan12/Universe-Server,SilverTactic/Showdown-Boilerplate,SerperiorBae/Pokemon-Showdown-1,Enigami/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,aakashrajput/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,JellalTheMage/Jellals-Server,hayleysworld/asdfasdf,Parukia/Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,MayukhKundu/Flame-Savior,yashagl/pokemon,kotarou3/Krister-Pokemon-Showdown,Raina4uberz/Light-server,TheManwithskills/serenity,Flareninja/Pokemon-Showdown-1,ZestOfLife/PSserver,TheManwithskills/COC,MasterFloat/LQP-Server-Showdown,ankailou/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,HoeenCoder/SpacialGaze,azum4roll/Pokemon-Showdown,Kenny-/Pokemon-Showdown,TheManwithskills/Server-2,DB898/theregalias,AnaRitaTorres/Pokemon-Showdown,hayleysworld/harmonia,jd4564/Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,Chespin14/Custom-Platform-Pokemon-Showdown,Lauc1an/Perulink-Showdown,Breakfastqueen/advanced,JennyPRO/Jenny,AvinashSwaminathan/lotus-v2,SerperiorBae/Pokemon-Showdown,Disaster-Area/Pokemon-Showdown,yashagl/pokemon,xCrystal/Pokemon-Showdown,KewlStatics/Alliance,SilverTactic/Showdown-Boilerplate,Parukia/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,hayleysworld/asdfasdf,PrimalGallade45/Lumen-Pokemon-Showdown,PS-Spectral/Spectral,PrimalGallade45/Dropp-Pokemon-Showdown,SerperiorBae/PokemonShowdown2,DesoGit/TsunamiPS,CorruptedHelix/Pokemon-Showdown,lFernanl/Mudkip-Server,Kevinxzllz/PS-Openshift-Server,QuiteQuiet/Pokemon-Showdown,BuzzyOG/Pokemon-Showdown,Irraquated/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,Kokonoe-san/Glacia-PS,zczd/enculer,Stroke123/POKEMON,Nineage/Showdown-Boilerplate,asdfghjklohhnhn/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,Wando94/Spite,ankailou/Pokemon-Showdown,Ecuacion/Pokemon-Showdown,panpawn/Gold-Server,Oiawesome/DPPtServ2,Sora-Server/Sora,gustavo515/test,anubhabsen/Pokemon-Showdown,Irraquated/Pokemon-Showdown,xCrystal/Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,Mystifi/Exiled,AvinashSwaminathan/lotus-v3,MayukhKundu/Technogear,LustyAsh/EOS-Master,Flareninja/Lumen-Pokemon-Showdown,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,comedianchameleon/test,iFaZe/SliverX,CreaturePhil/Showdown-Boilerplate,SerperiorBae/Pokemon-Showdown,TheManwithskills/Dusk--Showdown,cadaeic/Pokemon-Showdown,MeliodasBH/boarhat,catanatron/pokemon-rebalance,Articuno-I/Pokemon-Showdown,Fusxfaranto/Pokemon-Showdown,MasterFloat/LQP-Server-Showdown,sirDonovan/Pokemon-Showdown,Git-Worm/City-PS,EmmaKitty/Pokemon-Showdown,Tesarand/Pokemon-Showdown,lFernanl/Zero-Pokemon-Showdown,Enigami/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,SerperiorBae/Pokemon-Showdown,Zarel/Pokemon-Showdown,brettjbush/Pokemon-Showdown,MayukhKundu/Mudkip-Server,megaslowbro1/Showdown-Server-again,Wando94/Pokemon-Showdown,TheManwithskills/Dusk--Showdown,Irraquated/EOS-Master,panpawn/Gold-Server,TbirdClanWish/Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Irraquated/Pokemon-Showdown,Pokemon-Devs/Pokemon-Showdown,Zipzapadam/Server,SerperiorBae/PokemonShowdown2,theodelhay/test,Darkshadow6/PokeMoon-Creation,hayleysworld/Showdown-Boilerplate,Irraquated/Showdown-Boilerplate,Firestatics/Firestatics46,TheManwithskills/Server---Thermal,yashagl/pokemon-showdown,TheManwithskills/Creature-phil-boiler,HoeenCoder/SpacialGaze,Kokonoe-san/Glacia-PS,Enigami/Pokemon-Showdown,Flareninja/Hispano-Pokemon-Showdown,KewlStatics/Shit,SubZeroo99/Pokemon-Showdown,CreaturePhil/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,KewlStatics/Showdown-Template,Firestatics/Firestatics46,Adithya4Uberz/The-Tsunami-League,SkyeTheFemaleSylveon/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Disaster-Area/Pokemon-Showdown,Parukia/Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,Sora-League/Sora,BlazingAura/Showdown-Boilerplate,TheFenderStory/Pokemon-Showdown,BuzzyOG/Pokemon-Showdown,Lord-Haji/SpacialGaze,zczd/enculer,Extradeath/advanced,kuroscafe/Paradox,TheManwithskills/COC,yashagl/yash-showdown,AvinashSwaminathan/lotus,MayukhKundu/Technogear,AWailOfATail/Pokemon-Showdown,InvalidDN/Pokemon-Showdown,Sora-Server/Sora,scotchkorean27/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,urkerab/Pokemon-Showdown,Zipzapadam/Server,abrulochp/Dropp-Pokemon-Showdown,Pikachuun/Joimmon-Showdown,PS-Spectral/Spectral,Pablo000/aaa,Lauc1an/Perulink-Showdown,SilverTactic/Pokemon-Showdown,Flareninja/Sora,Celecitia/Plux-Pokemon-Showdown,comedianchameleon/servertest1,KewlStatics/Pokeindia-Codes,CrestfallPS/Pokemon-Showdown,Firestatics/Omega-Alpha,Psyientist/Showdown-Boilerplate,jumbowhales/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,Atwar/ServerClassroom,SkyeTheFemaleSylveon/Mudkip-Server,Evil-kun/Pokemon-Showdown,scotchkorean27/Pokemon-Showdown,PS-Spectral/Spectral,DesoGit/Tsunami_PS,johtooo/PS,MasterFloat/Pokemon-Showdown,Guernouille/Pokemon-Showdown,javi501/Lumen-Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,SerperiorBae/Bae-Showdown-2,HoeenCoder/SpacialGaze,LightningStormServer/Lightning-Storm,SerperiorBae/Bae-Showdown-2,MayukhKundu/Pokemon-Domain,TbirdClanWish/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,abulechu/Dropp-Pokemon-Showdown,TheManwithskills/Server,ehk12/coregit,CorruptedHelix/Pokemon-Showdown,Flareninja/Pokemon-Showdown,svivian/Pokemon-Showdown,panpawn/Pokemon-Showdown,ZeroParadox/ugh,abrulochp/Dropp-Pokemon-Showdown,Raina4uberz/Light-server,Alpha-Devs/Alpha-Server,NoahVSGamingYT/Pokemon-Showdown,arkanox/MistShowdown,Volcos/SpacialGaze,LegendBorned/PS-Boilerplate,BadSteel/Omega-Pokemon-Showdown,johtooo/PS,yashagl/pokemon-showdown,Arcticblast/Pokemon-Showdown,kupochu/Pokemon-Showdown,abrulochp/Lumen-Pokemon-Showdown,MayukhKundu/Technogear-Final,danpantry/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,SilverTactic/Dragotica-Pokemon-Showdown,comedianchameleon/test,gustavo515/final,Celecitia/Plux-Pokemon-Showdown,gustavo515/gashoro,ZestOfLife/FestiveLife,DB898/theregalias,Yggdrasil-League/Yggdrasil,AWailOfATail/Pokemon-Showdown,Yggdrasil-League/Yggdrasil,CharizardtheFireMage/Showdown-Boilerplate,Atwar/ServerClassroom,BlakJack/Kill-The-Noise,ehk12/clone,TheFenderStory/Showdown-Boilerplate,xfix/Pokemon-Showdown,hayleysworld/serenity,Flareninja/Sora,Hidden-Mia/Roleplay-PS,ShowdownHelper/Saffron,Ridukuo/Test2,MeliodasBH/Articuno-Land,abulechu/Lumen-Pokemon-Showdown,Breakfastqueen/advanced,sama2/Dropp-Pokemon-Showdown,zek7rom/SpacialGaze,lFernanl/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,Legit99/Lightning-Storm-Server,Extradeath/advanced,Werfin96/Ultimate,DesoGit/TsunamiPS,KewlStatics/Pokeindia-Codes,cadaeic/Pokemon-Showdown,Guernouille/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,lFernanl/Zero-Pokemon-Showdown,Vacate/Pokemon-Showdown,VoltStorm/Server-pokemon-showdown,Ecuacion/Pokemon-Showdown,Checkinator/Pokemon-Showdown,LightningStormServer/Lightning-Storm,SerperiorBae/BaeShowdown,Pikachuun/Pokemon-Showdown-SMCMDM,TheDiabolicGift/Lumen-Pokemon-Showdown,AustinXII/Pokemon-Showdown,Sora-League/Sora,AWailOfATail/Pokemon-Showdown,Syurra/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,comedianchameleon/test,Psyientist/Showdown-Boilerplate,xfix/Pokemon-Showdown,anubhabsen/Pokemon-Showdown,xfix/Pokemon-Showdown,Alpha-Devs/Alpha-Server,abrulochp/Lumen-Pokemon-Showdown,MeliodasBH/Articuno-Land,Nineage/Origin,SerperiorBae/BaeShowdown,panpawn/Gold-Server,Neosweiss/Pokemon-Showdown,hayleysworld/serenityserver,SerperiorBae/BaeShowdown,CreaturePhil/Showdown-Boilerplate,FakeSloth/Infinite,Pokemon-Devs/Pokemon-Showdown,Irraquated/Showdown-Boilerplate,superman8900/Pokemon-Showdown,kupochu/Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,NoahVSGamingYT/Pokemon-Showdown,hayleysworld/serenityserver,Enigami/Pokemon-Showdown,Flareninja/Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,SilverTactic/Dragotica-Pokemon-Showdown,danpantry/Pokemon-Showdown,Oiawesome/DPPtServ2,Checkinator/Pokemon-Showdown,Adithya4Uberz/The-Tsunami-League,theodelhay/test,CharizardtheFireMage/Showdown-Boilerplate,Flareninja/Hispano-Pokemon-Showdown,Tesarand/Pokemon-Showdown,k3naan/Pokemon-Showdown,TheManwithskills/Server-2,TheManwithskills/New-boiler-test,AustinXII/Pokemon-Showdown,TheManwithskills/DS,Ransei1/Alt,Legit99/Lightning-Storm-Server,TheDiabolicGift/Showdown-Boilerplate,AbsolitoSweep/Absol-server,BasedGod7/PH,brettjbush/Pokemon-Showdown,Atwar/server-epilogueleague.rhcloud.com,Flareninja/Lumen-Pokemon-Showdown,gustavo515/batata,arkanox/MistShowdown,Ridukuo/Test,psnsVGC/Wish-Server,DesoGit/Tsunami_PS,MayukhKundu/Mudkip-Server,SerperiorBae/Pokemon-Showdown-1,miahjennatills/Pokemon-Showdown,svivian/Pokemon-Showdown,Firestatics/omega,Thiediev/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,gustavo515/gashoro,kuroscafe/Paradox,Lord-Haji/SpacialGaze,TheManwithskills/Creature-phil-boiler,KewlStatics/Shit,Wando94/Spite,Ridukuo/Test2,KaitoV4X/Showdown,Alpha-Devs/OmegaRuby-Server,MayukhKundu/Flame-Savior,TheDiabolicGift/Lumen-Pokemon-Showdown,Irraquated/EOS-Master,Lord-Haji/SpacialGaze,xfix/Pokemon-Showdown,Luobata/Pokemon-Showdown,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,sama2/Viridian-Pokemon-Showdown,Flareninja/Sora,lFernanl/Lumen-Pokemon-Showdown,sama2/Viridian-Pokemon-Showdown,SerperiorBae/Bae-Showdown,lAlejandro22/lolipoop,kubetz/Pokemon-Showdown,MayukhKundu/Pokemon-Domain,yashagl/yash-showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,ehk12/bigbangtempclone,aakashrajput/Pokemon-Showdown,Stroke123/POKEMON,psnsVGC/Wish-Server,Flareninja/Showdown-Boilerplate,urkerab/Pokemon-Showdown,kubetz/Pokemon-Showdown,Sora-Server/Sora,KewlStatics/Showdown-Template,sama2/Dropp-Pokemon-Showdown,DarkSuicune/Kakuja-2.0,lFernanl/Mudkip-Server,yashagl/pokecommunity,TheManwithskills/serenity,gustavo515/test,BuzzyOG/Pokemon-Showdown,Tesarand/Pokemon-Showdown