chore: ruff formatting

This commit is contained in:
neoarz
2025-11-02 23:32:52 -05:00
parent 2ce2c69a87
commit 1eff6c9f53
91 changed files with 3824 additions and 2518 deletions

View File

@@ -6,47 +6,50 @@ import time
def ios26_command():
@commands.hybrid_command(
name="26", description="How can I run MeloNX on iOS 26?"
)
@commands.hybrid_command(name="26", description="How can I run MeloNX on iOS 26?")
async def ios26(self, context):
embed = discord.Embed(
color=0x963155,
description=(
'# "How can I run MeloNX on iOS 26?"\n\n---\n\n' +
'### StikDebug\n' +
'1. Make sure StikDebug is on the latest version.\n' +
'2. Turn on "Picture in Picture" in StikDebug\'s settings.\n\n' +
'### MeloNX\n' +
'Make sure you\'re on the latest version of MeloNX.\n' +
'## Disclaimer:\n\n' +
'If you\'re on iOS 18 or below, and emulation is essential to you:\n\n' +
'## <:error:1424007141768822824> DO NOT UPDATE <:error:1424007141768822824> \n\n' +
'iOS 26 has many issues related to emulation.'
)
'# "How can I run MeloNX on iOS 26?"\n\n---\n\n'
+ "### StikDebug\n"
+ "1. Make sure StikDebug is on the latest version.\n"
+ '2. Turn on "Picture in Picture" in StikDebug\'s settings.\n\n'
+ "### MeloNX\n"
+ "Make sure you're on the latest version of MeloNX.\n"
+ "## Disclaimer:\n\n"
+ "If you're on iOS 18 or below, and emulation is essential to you:\n\n"
+ "## <:error:1424007141768822824> DO NOT UPDATE <:error:1424007141768822824> \n\n"
+ "iOS 26 has many issues related to emulation."
),
)
embed.set_author(name="MeloNX", icon_url="https://yes.nighty.works/raw/TLGaVa.png")
embed.set_footer(text=f'Last Edited by Meshal :D')
embed.set_author(
name="MeloNX", icon_url="https://yes.nighty.works/raw/TLGaVa.png"
)
embed.set_footer(text=f"Last Edited by Meshal :D")
embed.timestamp = discord.utils.utcnow()
view = discord.ui.View()
view.add_item(discord.ui.Button(
label="Edit Command",
style=discord.ButtonStyle.secondary,
url="https://github.com/neoarz/Syntrel/blob/main/cogs/melonx/ios26.py",
emoji="<:githubicon:1417717356846776340>"
))
view.add_item(discord.ui.Button(
label="MeloNX Discord",
style=discord.ButtonStyle.primary,
url="https://discord.gg/EMXB2XYQgA",
emoji="<:Discord:1428762057758474280>"
))
view.add_item(
discord.ui.Button(
label="Edit Command",
style=discord.ButtonStyle.secondary,
url="https://github.com/neoarz/Syntrel/blob/main/cogs/melonx/ios26.py",
emoji="<:githubicon:1417717356846776340>",
)
)
view.add_item(
discord.ui.Button(
label="MeloNX Discord",
style=discord.ButtonStyle.primary,
url="https://discord.gg/EMXB2XYQgA",
emoji="<:Discord:1428762057758474280>",
)
)
if context.interaction:
await context.interaction.response.send_message(embed=embed, view=view)
else:
await context.send(embed=embed, view=view)
return ios26