1
0
Fork 0
mirror of synced 2024-05-19 03:52:25 +12:00

Send as an actual embed object

This commit is contained in:
Phxntxm 2018-01-12 15:48:19 -06:00
parent 58539d85fa
commit f942852813

View file

@ -38,7 +38,7 @@ class Tutorial:
# Loop through all the commands that we want to use # Loop through all the commands that we want to use
for command in commands: for command in commands:
embed = self.generate_embed(command) embed = self.generate_embed(command)
await ctx.author.send(embed) await ctx.author.send(embed=embed)
return return
def generate_embed(self, command): def generate_embed(self, command):