aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween/halloween_facts.py
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-05 15:33:08 -0400
committerGravatar ToxicKidz <[email protected]>2021-05-05 15:33:08 -0400
commite22c03395b83d81b4c5de90378bc09fae9dce4e1 (patch)
tree12999d98aa6c5d1e362dc7f8bb146325167cb493 /bot/exts/halloween/halloween_facts.py
parentchore: Apply suggested changes (diff)
chore: Use pathlib more often and apply other changes
Diffstat (limited to 'bot/exts/halloween/halloween_facts.py')
-rw-r--r--bot/exts/halloween/halloween_facts.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bot/exts/halloween/halloween_facts.py b/bot/exts/halloween/halloween_facts.py
index 139e0810..3a89b5aa 100644
--- a/bot/exts/halloween/halloween_facts.py
+++ b/bot/exts/halloween/halloween_facts.py
@@ -33,7 +33,6 @@ class HalloweenFacts(commands.Cog):
with Path("bot/resources/halloween/halloween_facts.json").open("r", encoding="utf8") as file:
self.halloween_facts = json.load(file)
self.facts = list(enumerate(self.halloween_facts))
- random.shuffle(self.facts)
def random_fact(self) -> Tuple[int, str]:
"""Return a random fact from the loaded facts."""