diff options
Diffstat (limited to 'bot/exts/halloween/halloween_facts.py')
| -rw-r--r-- | bot/exts/halloween/halloween_facts.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/halloween/halloween_facts.py b/bot/exts/halloween/halloween_facts.py index 44a66ab2..7eb6d56f 100644 --- a/bot/exts/halloween/halloween_facts.py +++ b/bot/exts/halloween/halloween_facts.py @@ -29,7 +29,7 @@ class HalloweenFacts(commands.Cog):      def __init__(self, bot: commands.Bot):          self.bot = bot -        with open(Path("bot/resources/halloween/halloween_facts.json"), "r") as file: +        with open(Path("bot/resources/halloween/halloween_facts.json"), "r", encoding="utf8") as file:              self.halloween_facts = json.load(file)          self.facts = list(enumerate(self.halloween_facts))          random.shuffle(self.facts)  |