mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
chore: ruff fix
This commit is contained in:
@@ -22,7 +22,8 @@ class Livecontainer(commands.GroupCog, name="livecontainer"):
|
||||
color=0x0169FF,
|
||||
)
|
||||
embed.set_author(
|
||||
name="LiveContainer", icon_url="https://raw.githubusercontent.com/LiveContainer/LiveContainer/main/screenshots/livecontainer_icon.png"
|
||||
name="LiveContainer",
|
||||
icon_url="https://raw.githubusercontent.com/LiveContainer/LiveContainer/main/screenshots/livecontainer_icon.png",
|
||||
)
|
||||
view = LivecontainerView(self.bot)
|
||||
await context.send(embed=embed, view=view)
|
||||
@@ -35,7 +36,8 @@ class Livecontainer(commands.GroupCog, name="livecontainer"):
|
||||
color=0x0169FF,
|
||||
)
|
||||
embed.set_author(
|
||||
name="LiveContainer", icon_url="https://raw.githubusercontent.com/LiveContainer/LiveContainer/main/screenshots/livecontainer_icon.png"
|
||||
name="LiveContainer",
|
||||
icon_url="https://raw.githubusercontent.com/LiveContainer/LiveContainer/main/screenshots/livecontainer_icon.png",
|
||||
)
|
||||
view = LivecontainerView(self.bot)
|
||||
await context.send(embed=embed, view=view)
|
||||
@@ -69,7 +71,8 @@ class Livecontainer(commands.GroupCog, name="livecontainer"):
|
||||
color=0x0169FF,
|
||||
)
|
||||
embed.set_author(
|
||||
name="LiveContainer", icon_url="https://raw.githubusercontent.com/LiveContainer/LiveContainer/main/screenshots/livecontainer_icon.png"
|
||||
name="LiveContainer",
|
||||
icon_url="https://raw.githubusercontent.com/LiveContainer/LiveContainer/main/screenshots/livecontainer_icon.png",
|
||||
)
|
||||
view = LivecontainerView(self.bot)
|
||||
await interaction.response.send_message(embed=embed, view=view, ephemeral=True)
|
||||
@@ -88,4 +91,3 @@ async def setup(bot) -> None:
|
||||
|
||||
bot.logger.info("Loaded extension 'livecontainer.help'")
|
||||
bot.logger.info("Loaded extension 'livecontainer.26jit'")
|
||||
|
||||
|
||||
@@ -12,13 +12,24 @@ def jit26_command():
|
||||
),
|
||||
)
|
||||
embed.set_author(
|
||||
name="LiveContainer", icon_url="https://raw.githubusercontent.com/LiveContainer/LiveContainer/main/screenshots/livecontainer_icon.png"
|
||||
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")
|
||||
|
||||
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>"))
|
||||
|
||||
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, view=view)
|
||||
else:
|
||||
|
||||
@@ -11,7 +11,9 @@ class LivecontainerSelect(discord.ui.Select):
|
||||
description="Walkthrough for iOS 26 JIT and sideloading",
|
||||
),
|
||||
]
|
||||
super().__init__(placeholder="Choose a LiveContainer command...", options=options)
|
||||
super().__init__(
|
||||
placeholder="Choose a LiveContainer command...", options=options
|
||||
)
|
||||
|
||||
async def callback(self, interaction: discord.Interaction):
|
||||
command_name = self.values[0]
|
||||
|
||||
Reference in New Issue
Block a user