random: rename to random_choice to avoid conflict
This commit is contained in:
parent
02ffd07d72
commit
0168089dd8
|
@ -144,7 +144,7 @@
|
||||||
"positive": ["I like it."],
|
"positive": ["I like it."],
|
||||||
"negative": ["I don't like it."]
|
"negative": ["I don't like it."]
|
||||||
},
|
},
|
||||||
"random": {
|
"randomchoice": {
|
||||||
"commands": ["choose"],
|
"commands": ["choose"],
|
||||||
"separator": "or",
|
"separator": "or",
|
||||||
"not_enough": "Not enough choices!"
|
"not_enough": "Not enough choices!"
|
||||||
|
|
|
@ -3,7 +3,7 @@ import random
|
||||||
from edmond.plugin import Plugin
|
from edmond.plugin import Plugin
|
||||||
|
|
||||||
|
|
||||||
class RandomPlugin(Plugin):
|
class RandomChoicePlugin(Plugin):
|
||||||
|
|
||||||
REQUIRED_CONFIGS = ["commands", "separator", "not_enough"]
|
REQUIRED_CONFIGS = ["commands", "separator", "not_enough"]
|
||||||
|
|
Loading…
Reference in a new issue