changed json load function and typed the embed

This commit is contained in:
Fadi AT 2020-03-30 14:37:13 +03:00
parent 80217fcc4e
commit 95098c0fa8

View File

@ -23,7 +23,7 @@ def fetchMessage(jsonFormat):
class WelcomeCog(commands.Cog): class WelcomeCog(commands.Cog):
def __init__(self, bot): def __init__(self, bot):
self.message = json.load(embed) self.message = json.loads(str(embed))
self.bot = bot self.bot = bot
@commands.Cog.listener() @commands.Cog.listener()