random: rename to random_choice to avoid conflict

This commit is contained in:
dece 2022-08-29 14:04:57 +02:00
parent 02ffd07d72
commit 0168089dd8
2 changed files with 2 additions and 2 deletions

View file

@ -144,7 +144,7 @@
"positive": ["I like it."],
"negative": ["I don't like it."]
},
"random": {
"randomchoice": {
"commands": ["choose"],
"separator": "or",
"not_enough": "Not enough choices!"

View file

@ -3,7 +3,7 @@ import random
from edmond.plugin import Plugin
class RandomPlugin(Plugin):
class RandomChoicePlugin(Plugin):
REQUIRED_CONFIGS = ["commands", "separator", "not_enough"]