A sample player is named **** | wallowwillow in-game. Please note that I added end as one of the subcommands.
Command used: !switch end wal

Commenting this condition under getPlayersByUsername function out seems to fix the issue:
Command used: !switch end wal


A sample player is named
**** | wallowwillowin-game. Please note that I addedendas one of the subcommands.Command used:

!switch end walCommenting this condition under


getPlayersByUsernamefunction out seems to fix the issue:Command used:
!switch end wal