\usepackage{xcolor}
This commit is contained in:
parent
c1a546c9e7
commit
9410d9e2af
@ -26,6 +26,7 @@ FORMATTED_CODE_REGEX = re.compile(
|
||||
# https://github.com/python-discord/bot-core/blob/main/pydis_core/utils/regex.py#L44C1-L49C2
|
||||
RAW_CODE_REGEX = re.compile(r"^(?:[ \t]*\n)*" r"(?P<code>.*?)" r"\s*$", flags=re.DOTALL)
|
||||
|
||||
|
||||
async def threads(channel: discord.TextChannel):
|
||||
for t in channel.threads:
|
||||
yield t
|
||||
@ -134,7 +135,11 @@ class Night(commands.Cog):
|
||||
viewer="BytesIO",
|
||||
euler=False,
|
||||
outputbuffer=buf,
|
||||
dvioptions=["-fg", "White", "-bg", "Black"],
|
||||
dvioptions=["-fg", "White", "-bg", "Black", "-D", "200"],
|
||||
extra_preamble=r"""
|
||||
\usepackage{xcolor}
|
||||
\color{white}
|
||||
""",
|
||||
)
|
||||
|
||||
await asyncio.to_thread(preview)
|
||||
|
Loading…
Reference in New Issue
Block a user