diff --git a/Izzy-Moonbot/Modules/ModCoreModule.cs b/Izzy-Moonbot/Modules/ModCoreModule.cs index 273f2048..823eec27 100644 --- a/Izzy-Moonbot/Modules/ModCoreModule.cs +++ b/Izzy-Moonbot/Modules/ModCoreModule.cs @@ -404,7 +404,7 @@ public async Task TestableBanAllCommandAsync( return; } - var userArgs = usersString.Split(' ', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries); + var userArgs = usersString.Split(new char[] { ' ', '\r', '\n', '\t', '\v' }, StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries); foreach (var userArg in userArgs) { await TestableBanCommandAsync(context, userArg, false /* generateUserlogTemplate */);