1
0
Fork 0
mirror of synced 2024-05-05 13:12:34 +12:00

Correct nsfw lookup

This commit is contained in:
phxntxm 2018-06-23 12:12:31 -05:00
parent ff672d1f81
commit 09d8f0535a

View file

@ -154,7 +154,7 @@ class Links:
EXAMPLE: !urban a normal phrase
RESULT: Probably something lewd; this is urban dictionary we're talking about"""
if utils.channel_is_nsfw(ctx.message.channel, self.bot.db):
if await utils.channel_is_nsfw(ctx.message.channel, self.bot.db):
await ctx.message.channel.trigger_typing()
url = "http://api.urbandictionary.com/v0/define"