UrbanDict

- Fixed detection of no definitions
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-03 17:47:52 +02:00
parent fe7454dc01
commit 21329400ec
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public final class UrbanDict : Mod
// Perform lookup and parsing
JSONValue[] definitions = doThing(searchTerm);
if(definitions.length >= 0)
if(definitions.length > 0)
{
// TODO: Send result below
// getBot().channelMessage(translatedText, channel);