aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/magic_8ball.py
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2020-11-30 15:18:42 +0100
committerGravatar GitHub <[email protected]>2020-11-30 15:18:42 +0100
commit0ad849431eee3cab48485a132df23b0883142cf6 (patch)
treed9bd17fbd8f22c45e682079f6e3e565b6e17f61d /bot/exts/evergreen/magic_8ball.py
parent"adding xkcd feature" (diff)
parentMerge pull request #532 from python-discord/sebastiaan/ci/add-core-dev-approv... (diff)
Merge branch 'master' into issue-337
Diffstat (limited to 'bot/exts/evergreen/magic_8ball.py')
-rw-r--r--bot/exts/evergreen/magic_8ball.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/magic_8ball.py b/bot/exts/evergreen/magic_8ball.py
index c10f1f51..f974e487 100644
--- a/bot/exts/evergreen/magic_8ball.py
+++ b/bot/exts/evergreen/magic_8ball.py
@@ -13,7 +13,7 @@ class Magic8ball(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
- with open(Path("bot/resources/evergreen/magic8ball.json"), "r") as file:
+ with open(Path("bot/resources/evergreen/magic8ball.json"), "r", encoding="utf8") as file:
self.answers = json.load(file)
@commands.command(name="8ball")