mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 14:27:27 +00:00
Beautify
This commit is contained in:
parent
e997c242ea
commit
f3daa5209a
1 changed files with 4 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
|||
import asyncio
|
||||
import json
|
||||
import re
|
||||
import sys
|
||||
import traceback as tb
|
||||
from contextlib import suppress
|
||||
from fractions import gcd
|
||||
from datetime import datetime as dt
|
||||
from datetime import timedelta as td
|
||||
import sys
|
||||
from fractions import gcd
|
||||
|
||||
import discord as d
|
||||
from discord import errors as err
|
||||
|
@ -219,7 +219,8 @@ class MsG:
|
|||
try:
|
||||
await dest.trigger_typing()
|
||||
|
||||
ident = ident if not ident.isdigit() else re.search('show/([0-9]+)', ident).group(1)
|
||||
ident = ident if not ident.isdigit() else re.search(
|
||||
'show/([0-9]+)', ident).group(1)
|
||||
post = await u.fetch('https://e621.net/post/show.json', params={'id': ident}, json=True)
|
||||
|
||||
embed = d.Embed(
|
||||
|
|
Loading…
Reference in a new issue