diff options
| author | 2021-09-05 00:12:47 -0400 | |
|---|---|---|
| committer | 2021-09-05 00:12:47 -0400 | |
| commit | 66c888ad68ad88ba1d39c2ac4824469560b8c29a (patch) | |
| tree | 706917000c39c3af1fc92c47fd59fe31a63f601a /bot/exts/utilities/conversationstarters.py | |
| parent | Move internal eval and rename utils to core (diff) | |
Move practical functions into utilities folder
Separates out the useful/practical seasonal bot features from the
evergreen folder into a "utilities" folder.
Adjusts the paths to resources to reflect the folder move.
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/utilities/conversationstarters.py (renamed from bot/exts/evergreen/conversationstarters.py) | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/evergreen/conversationstarters.py b/bot/exts/utilities/conversationstarters.py index fdc4467a..dd537022 100644 --- a/bot/exts/evergreen/conversationstarters.py +++ b/bot/exts/utilities/conversationstarters.py @@ -11,10 +11,10 @@ from bot.utils.randomization import RandomCycle  SUGGESTION_FORM = "https://forms.gle/zw6kkJqv8U43Nfjg9" -with Path("bot/resources/evergreen/starter.yaml").open("r", encoding="utf8") as f: +with Path("bot/resources/utilities/starter.yaml").open("r", encoding="utf8") as f:      STARTERS = yaml.load(f, Loader=yaml.FullLoader) -with Path("bot/resources/evergreen/py_topics.yaml").open("r", encoding="utf8") as f: +with Path("bot/resources/utilities/py_topics.yaml").open("r", encoding="utf8") as f:      # First ID is #python-general and the rest are top to bottom categories of Topical Chat/Help.      PY_TOPICS = yaml.load(f, Loader=yaml.FullLoader) @@ -33,7 +33,7 @@ TOPICS = {  class ConvoStarters(commands.Cog): -    """Evergreen conversation topics.""" +    """General conversation topics."""      @commands.command()      @whitelist_override(channels=ALL_ALLOWED_CHANNELS)  |