diff --git a/cogs/livecontainer/26jit.py b/cogs/livecontainer/26jit.py deleted file mode 100644 index 4942fe6..0000000 --- a/cogs/livecontainer/26jit.py +++ /dev/null @@ -1,22 +0,0 @@ -import discord -from discord.ext.commands import Context - - -def jit26_command(): - async def command(self, context: Context): - embed = discord.Embed( - title="Hello World", - description="hello world", - color=0x0169FF, - ) - embed.set_author( - name="26JIT", icon_url="https://raw.githubusercontent.com/LiveContainer/LiveContainer/main/screenshots/livecontainer_icon.png" - ) - - if context.interaction: - await context.interaction.response.send_message(embed=embed, ephemeral=True) - else: - await context.send(embed=embed) - - return command - diff --git a/cogs/livecontainer/__init__.py b/cogs/livecontainer/__init__.py index 3534c0c..31f7037 100644 --- a/cogs/livecontainer/__init__.py +++ b/cogs/livecontainer/__init__.py @@ -76,7 +76,7 @@ class Livecontainer(commands.GroupCog, name="livecontainer"): @commands.check(_require_group_prefix) @commands.hybrid_command( - name="26jit", description="26JIT information" + name="26jit", description="Interactive walkthrough for iOS 26 JIT and sideloading" ) async def jit26(self, context): return await jit26_command()(self, context) diff --git a/cogs/livecontainer/jit26.py b/cogs/livecontainer/jit26.py index 898a837..adc958a 100644 --- a/cogs/livecontainer/jit26.py +++ b/cogs/livecontainer/jit26.py @@ -5,15 +5,23 @@ from discord.ext.commands import Context def jit26_command(): async def command(self, context: Context): embed = discord.Embed( - title="Hello World", - description="hello world", color=0x0169FF, + description=( + "# iOS 26 JIT & Sideloading Walkthrough\n\n---\n\n" + "Click the [button below](https://github.com/CelloSerenity/iOS-26-Sideloading-and-JIT-Complete-Walkthrough) to get started with iOS 26 JIT and sideloading." + ), ) + embed.set_author( + name="LiveContainer", icon_url="https://raw.githubusercontent.com/LiveContainer/LiveContainer/main/screenshots/livecontainer_icon.png" + ) + embed.set_footer(icon_url="https://yes.nighty.works/raw/2PPWd3.webp", text="Made By CelloSerenity") + + view = discord.ui.View() + view.add_item(discord.ui.Button(label="Get Started", url="https://github.com/CelloSerenity/iOS-26-Sideloading-and-JIT-Complete-Walkthrough", style=discord.ButtonStyle.primary, emoji="<:githubicon:1417717356846776340>")) if context.interaction: - await context.interaction.response.send_message(embed=embed) + await context.interaction.response.send_message(embed=embed, view=view) else: - await context.send(embed=embed) + await context.send(embed=embed, view=view) return command - diff --git a/cogs/livecontainer/livecontainer.py b/cogs/livecontainer/livecontainer.py index 0f644bd..a66a917 100644 --- a/cogs/livecontainer/livecontainer.py +++ b/cogs/livecontainer/livecontainer.py @@ -6,9 +6,9 @@ class LivecontainerSelect(discord.ui.Select): self.bot = bot options = [ discord.SelectOption( - label="26JIT", + label="iOS 26 JIT & Sideloading", value="26jit", - description="26JIT information", + description="Interactive walkthrough for iOS 26 JIT and sideloading", ), ] super().__init__(placeholder="Choose a LiveContainer command...", options=options)