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

@@ -57,7 +57,7 @@ public class UrbanDictionaryCommand extends SlashCommandImpl
try {
doc = Jsoup.connect(url).get();
} catch (IOException e) {
event.reply(UrbanDictionary.getNoTermFoundError())
event.reply(UrbanDictionary.getTermNotFoundError())
.setEphemeral(true)
.queue();
return;