1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 22:27:28 +00:00

Merge branch 'dev'

This commit is contained in:
Dylan Dizon 2019-09-22 14:01:21 -04:00 committed by GitHub
commit 9c93cac4f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -397,10 +397,9 @@ class MsG(cmds.Cog):
for attachment in ctx.message.attachments:
urls.append(attachment.url)
async with ctx.channel.typing():
for url in urls:
try:
await ctx.trigger_typing()
post, source, similarity = await scraper.get_post(url)
embed = d.Embed(
@ -471,11 +470,10 @@ class MsG(cmds.Cog):
raise exc.NotFound
n = 1
async with ctx.channel.typing():
for message, urls in links.items():
for url in urls:
try:
await ctx.trigger_typing()
post, source, similarity = await scraper.get_post(url)
embed = d.Embed(
@ -535,10 +533,9 @@ class MsG(cmds.Cog):
for attachment in message.attachments:
urls.append(attachment.url)
async with message.channel.typing():
for url in urls:
try:
await message.channel.trigger_typing()
post, source, similarity = await scraper.get_post(url)
embed = d.Embed(