forked from blizzthewolf/SeaCogs
fix(nerdify): please work
This commit is contained in:
parent
a759cf2a49
commit
375fffd134
1 changed files with 17 additions and 17 deletions
|
@ -27,9 +27,9 @@ class Nerdify(commands.Cog):
|
||||||
messages = [message async for message in ctx.channel.history(limit=2)]
|
messages = [message async for message in ctx.channel.history(limit=2)]
|
||||||
# [0] is the command, [1] is the message before the command
|
# [0] is the command, [1] is the message before the command
|
||||||
text = messages[1].content or "I can't translate that!"
|
text = messages[1].content or "I can't translate that!"
|
||||||
await type_message(
|
await self.type_message(
|
||||||
ctx.channel,
|
ctx.channel,
|
||||||
nerdify_text(text),
|
self.nerdify_text(text),
|
||||||
allowed_mentions=discord.AllowedMentions(
|
allowed_mentions=discord.AllowedMentions(
|
||||||
everyone=False, users=False, roles=False
|
everyone=False, users=False, roles=False
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue