Make serialization util class

This commit is contained in:
2022-12-20 15:11:44 +01:00
parent 68dceaff13
commit 1644a4b07d
4 changed files with 50 additions and 42 deletions

View File

@@ -64,7 +64,7 @@ public class UrbanDictionaryCommand implements MessageCommand
try {
doc = Jsoup.connect(url).get();
} catch (IOException e) {
event.getMessage().reply(UrbanDictionary.getNoTermFoundError()).queue();
event.getMessage().reply(UrbanDictionary.getTermNotFoundError()).queue();
return;
}