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:
@@ -31,7 +31,9 @@ class Idevice(commands.GroupCog, name="idevice"):
|
||||
await context.send(embed=embed, view=view)
|
||||
|
||||
@idevice_group.command(name="errorcodes")
|
||||
async def idevice_group_errorcodes(self, context: Context, *, error_code: str = None):
|
||||
async def idevice_group_errorcodes(
|
||||
self, context: Context, *, error_code: str = None
|
||||
):
|
||||
await self._invoke_hybrid(context, "errorcodes", error_code=error_code)
|
||||
|
||||
@idevice_group.command(name="developermode")
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import discord
|
||||
from discord import app_commands
|
||||
from discord.ext import commands
|
||||
from discord.ext.commands import Context
|
||||
import time
|
||||
|
||||
|
||||
def developermode_command():
|
||||
@@ -24,7 +21,7 @@ def developermode_command():
|
||||
embed.set_author(
|
||||
name="idevice", icon_url="https://yes.nighty.works/raw/snLMuO.png"
|
||||
)
|
||||
embed.set_footer(text=f"Last Edited by neoarz")
|
||||
embed.set_footer(text="Last Edited by neoarz")
|
||||
embed.timestamp = discord.utils.utcnow()
|
||||
|
||||
view = discord.ui.View()
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import discord
|
||||
from discord import app_commands
|
||||
from discord.ext import commands
|
||||
from discord.ext.commands import Context
|
||||
import json
|
||||
import os
|
||||
import math
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
from discord.ext.commands import Context
|
||||
import os
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import discord
|
||||
from discord import app_commands
|
||||
from discord.ext import commands
|
||||
from discord.ext.commands import Context
|
||||
import time
|
||||
|
||||
|
||||
def noapps_command():
|
||||
@@ -26,7 +23,7 @@ def noapps_command():
|
||||
embed.set_author(
|
||||
name="idevice", icon_url="https://yes.nighty.works/raw/snLMuO.png"
|
||||
)
|
||||
embed.set_footer(text=f"Last Edited by neoarz")
|
||||
embed.set_footer(text="Last Edited by neoarz")
|
||||
embed.timestamp = discord.utils.utcnow()
|
||||
|
||||
view = discord.ui.View()
|
||||
|
||||
Reference in New Issue
Block a user