From 0168089dd83672bd6dd3d8a43f62256272b05273 Mon Sep 17 00:00:00 2001 From: dece Date: Mon, 29 Aug 2022 14:04:57 +0200 Subject: [PATCH] random: rename to random_choice to avoid conflict --- config.json.example | 2 +- edmond/plugins/{random.py => random_choice.py} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename edmond/plugins/{random.py => random_choice.py} (95%) diff --git a/config.json.example b/config.json.example index aaa5cc3..d9f30cd 100644 --- a/config.json.example +++ b/config.json.example @@ -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!" diff --git a/edmond/plugins/random.py b/edmond/plugins/random_choice.py similarity index 95% rename from edmond/plugins/random.py rename to edmond/plugins/random_choice.py index 0e52570..c0fa2c7 100644 --- a/edmond/plugins/random.py +++ b/edmond/plugins/random_choice.py @@ -3,7 +3,7 @@ import random from edmond.plugin import Plugin -class RandomPlugin(Plugin): +class RandomChoicePlugin(Plugin): REQUIRED_CONFIGS = ["commands", "separator", "not_enough"]