From a665c5f827a5e1f601c0d37c5e17f4ede8f1b936 Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 22 Oct 2018 14:53:09 -0400 Subject: [PATCH] `await ctx.embed_requested` --- scp/scp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scp/scp.py b/scp/scp.py index 4ce08ed..a77101a 100644 --- a/scp/scp.py +++ b/scp/scp.py @@ -28,7 +28,7 @@ class SCP(Cog): msg = "You must specify a number between 1 and 4999." c = discord.Color.red() - if ctx.embed_requested(): + if await ctx.embed_requested(): await ctx.send(embed=discord.Embed(description=msg, color=c)) else: await ctx.maybe_send_embed(msg) @@ -94,7 +94,7 @@ class SCP(Cog): em = discord.Embed(title=ttl, description=msg, color=c) - if ctx.embed_requested(): + if await ctx.embed_requested(): await ctx.send(embed=em) else: await ctx.maybe_send_embed(msg) @@ -118,7 +118,7 @@ class SCP(Cog): em = discord.Embed(title=ttl, description=msg, color=c) - if ctx.embed_requested(): + if await ctx.embed_requested(): await ctx.send(embed=em) else: await ctx.maybe_send_embed(msg)