= Localization and edge-case updating for stub
This commit is contained in:
@@ -25,7 +25,7 @@ public class CommandHelp extends Command
|
||||
|
||||
if(help == null)
|
||||
{
|
||||
help = Localizer.Stub("You can get help with a specific command by typing `!help command`!\nYou can also look at <https://www.rinsnowmew.com/bot/info/#commands>\nGeneral Commands: `boop, roll, choose, help, info, vote, results, showpoll, wolfram, cplus, java, beans, role, bet, yeet`");
|
||||
help = Localizer.Stub("You can get help with a specific command by typing `!help command`!\nGeneral Commands: `boop, roll, choose, help, info, vote, results, showpoll, wolfram, cplus, java, beans, role, bet, yeet`");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -91,7 +91,7 @@ public class Localizer
|
||||
return input;
|
||||
|
||||
String value = stringStore.GetKey(input);
|
||||
if(value.length() < 1)
|
||||
if(value == null || value.length() < 1)
|
||||
return input;
|
||||
|
||||
return value;
|
||||
|
||||
Reference in New Issue
Block a user