mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
Introduced new commands to the MeloNX cog: mods, gamecrash, requirements, error, and 26 (iOS 26), each with their own handler and help embed. Updated the README and melonx.py select menu to reflect the new commands. These additions provide users with troubleshooting and informational commands for common MeloNX issues and topics.
48 lines
1.8 KiB
Python
48 lines
1.8 KiB
Python
import discord
|
|
from discord import app_commands
|
|
from discord.ext import commands
|
|
from discord.ext.commands import Context
|
|
import time
|
|
|
|
|
|
def ios26_command():
|
|
@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 public beta.\n' +
|
|
'#prerelease-betas\n\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 neoarz')
|
|
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>"
|
|
))
|
|
|
|
if context.interaction:
|
|
await context.interaction.response.send_message(embed=embed, view=view)
|
|
else:
|
|
await context.send(embed=embed, view=view)
|
|
|
|
|
|
return ios26
|