junepark678 / GIRRewrite

Function contains unused argument PYL-W0613
Anti-pattern
Major
4 occurrences in this check
Unused argument 'ctx'
287        await logging_channel.send(embed=embed)
288
289    @staticmethod
290    async def prepare_rundown_embed(ctx: GIRContext, user):291        user_info = user_service.get_user(user.id)
292        rd = user_service.rundown(user.id)
293        rd_text = ""
Unused argument 'ctx'
215        await ctx.respond(embed=embed, view=view, ephemeral=ctx.whisper)
216
217    @staticmethod
218    async def do_firmware_response(ctx, matching_ios):219        embed = discord.Embed(
220            title=f"{matching_ios.get('osStr')} {matching_ios.get('version')}")
221        embed.add_field(name="Build number",
513
514class AttachmentConverter(Converter):
515    @staticmethod
516    async def convert(ctx: Context, arg: str):517        try:
518            attach = ctx.message.attachments[0]
519        except IndexError:
Unused argument 'arg'
513
514class AttachmentConverter(Converter):
515    @staticmethod
516    async def convert(ctx: Context, arg: str):517        try:
518            attach = ctx.message.attachments[0]
519        except IndexError: