feat(melonx): new melonx commands

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.
This commit is contained in:
neoarz
2025-10-04 08:54:48 -04:00
parent 023ec85640
commit ad1e117e75
8 changed files with 330 additions and 1 deletions

View File

@@ -0,0 +1,42 @@
import discord
from discord import app_commands
from discord.ext import commands
from discord.ext.commands import Context
import time
def requirements_command():
@commands.hybrid_command(
name="requirements", description="What does MeloNX require?"
)
async def requirements(self, context):
embed = discord.Embed(
color=0x963155,
description=(
'# "What does MeloNX require?"\n\n---\n\n' +
'- JIT is **Mandatory**, because of this MeloNX will never be on the App Store / TestFlight\n' +
'- A Modded Nintendo Switch\n' +
'- The Increased Memory Limit Entitlement\n' +
'- A device with a **A12/M1** chip and **4GB Ram** or higher\n' +
'- TrollStore is supported with limited functionality for iOS 15'
)
)
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/requirements.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 requirements