Make serialization util class
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-20 15:11:44 +01:00
parent d087de1d01
commit a80b2cc5a9
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;
}