aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/magic_8ball.py
diff options
context:
space:
mode:
authorGravatar jodth07 <[email protected]>2020-05-19 07:42:41 -0400
committerGravatar jodth07 <[email protected]>2020-05-19 07:42:41 -0400
commit9c0cbed99a92b49d9bd16ef6e9b8b5c246740072 (patch)
tree612fd2fe2cd1d53dc16d3dd77efcfbc88f06a857 /bot/exts/evergreen/magic_8ball.py
parent5/19 - evergreen | triva - fixed utf-8 bugs for windows (diff)
5/19 - bot | xmas, easter, evergreen - updated open statesments with explicit encoding
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")