Correct nsfw lookup
This commit is contained in:
parent
ff672d1f81
commit
09d8f0535a
|
@ -154,7 +154,7 @@ class Links:
|
||||||
|
|
||||||
EXAMPLE: !urban a normal phrase
|
EXAMPLE: !urban a normal phrase
|
||||||
RESULT: Probably something lewd; this is urban dictionary we're talking about"""
|
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()
|
await ctx.message.channel.trigger_typing()
|
||||||
|
|
||||||
url = "http://api.urbandictionary.com/v0/define"
|
url = "http://api.urbandictionary.com/v0/define"
|
||||||
|
|
Loading…
Reference in a new issue