2025-10-04 08:54:48 -04:00
|
|
|
import discord
|
|
|
|
|
from discord.ext import commands
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def ios26_command():
|
2025-11-02 23:32:52 -05:00
|
|
|
@commands.hybrid_command(name="26", description="How can I run MeloNX on iOS 26?")
|
2025-10-04 08:54:48 -04:00
|
|
|
async def ios26(self, context):
|
|
|
|
|
embed = discord.Embed(
|
|
|
|
|
color=0x963155,
|
|
|
|
|
description=(
|
2025-11-02 23:32:52 -05:00
|
|
|
'# "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"
|
2025-10-04 08:54:48 -04:00
|
|
|
)
|
2025-11-22 19:51:46 -05:00
|
|
|
embed.set_footer(text="Last Edited by Meshal :D")
|
2025-10-04 08:54:48 -04:00
|
|
|
embed.timestamp = discord.utils.utcnow()
|
|
|
|
|
|
|
|
|
|
view = discord.ui.View()
|
2025-11-02 23:32:52 -05:00
|
|
|
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>",
|
|
|
|
|
)
|
|
|
|
|
)
|
2025-10-04 08:54:48 -04:00
|
|
|
|
|
|
|
|
if context.interaction:
|
|
|
|
|
await context.interaction.response.send_message(embed=embed, view=view)
|
|
|
|
|
else:
|
|
|
|
|
await context.send(embed=embed, view=view)
|
|
|
|
|
|
|
|
|
|
return ios26
|