changed json load function and typed the embed
This commit is contained in:
parent
80217fcc4e
commit
95098c0fa8
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user