<@MetaNova> +help ud
<+chat> (ud <a global alias, 0 arguments>) -- Alias for "urbandictionary $*".
<@MetaNova> +cc ##llamas-private supybot.plugins.UrbanDictionary.maxNumberOfDefinitions
<+chat> 10
<@MetaNova> +ud test
<+chat> test :: 1. the main cause of [explosions].2. any thing [dreaded] that your "teachers" say is "good" for you. soon after, you explode for no reason.3. what scientists do to make stuff explode.4. when a sheet of paper explodes into [flames]. [ex:] 1. test [sodium] and water.2. SAT is a test.3. [Monkeys].4. you brought your [lighter] to test. [/ex] | slang for [testosterone]..[steroid] [hormones]. [ex:] (6 more messages)
<@MetaNova> +cc ##llamas-private supybot.plugins.UrbanDictionary.maxNumberOfDefinitions 1
<+chat> Done.
<@MetaNova> +ud test
<+chat> test :: 1. the main cause of [explosions].2. any thing [dreaded] that your "teachers" say is "good" for you. soon after, you explode for no reason.3. what scientists do to make stuff explode.4. when a sheet of paper explodes into [flames]. [ex:] 1. test [sodium] and water.2. SAT is a test.3. [Monkeys].4. you brought your [lighter] to test. [/ex] | slang for [testosterone]..[steroid] [hormones]. [ex:] (6 more messages)
However, calling --num 1 seems to work as intended:
<@MetaNova> +urbandictionary --num 1 test
<+chat> test :: 1. the main cause of [explosions].2. any thing [dreaded] that your "teachers" say is "good" for you. soon after, you explode for no reason.3. what scientists do to make stuff explode.4. when a sheet of paper explodes into [flames]. [ex:] 1. test [sodium] and water.2. SAT is a test.3. [Monkeys].4. you brought your [lighter] to test. [/ex]
<@MetaNova> +urbandictionary --disableexamples --num 1 test
<+chat> test :: 1. the main cause of [explosions].2. any thing [dreaded] that your "teachers" say is "good" for you. soon after, you explode for no reason.3. what scientists do to make stuff explode.4. when a sheet of paper explodes into [flames].
Consequently, I've simply changed my ud aka from urbandictionary $* to urbandictionary --disableexamples --num 1 $* and that's good enough for now, but it would be nice if UrbanDictionary.maxNumberOfDefinitions actually worked.
The current (running) version of this Limnoria is 2021.07.04, running on Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]. The newest versions available online are 2021.06.15 (in master), 2021.07.04 (in testing).
However, calling --num 1 seems to work as intended:
Consequently, I've simply changed my
ud
aka fromurbandictionary $*
tourbandictionary --disableexamples --num 1 $*
and that's good enough for now, but it would be nice ifUrbanDictionary.maxNumberOfDefinitions
actually worked.The current (running) version of this Limnoria is 2021.07.04, running on Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]. The newest versions available online are 2021.06.15 (in master), 2021.07.04 (in testing).
Latest git clone of oddluck/limnoria-plugins