Skip to content

Commit

Permalink
lint: ruff checks/fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VirdanTheBurden committed Oct 1, 2023
1 parent 11bf7a1 commit c0aa7d1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bot/exts/info/information.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from textwrap import shorten
from typing import Any, TYPE_CHECKING

import rapidfuzz
import discord
from discord import AllowedMentions, Colour, Embed, Guild, Message, Role, Interaction
import rapidfuzz
from discord import AllowedMentions, Colour, Embed, Guild, Interaction, Message, Role
from discord.ext.commands import BucketType, Cog, Context, Paginator, command, group, has_any_role
from discord.utils import escape_markdown
from pydis_core.site_api import ResponseCodeError
Expand Down Expand Up @@ -491,7 +491,6 @@ async def send_raw_content(self, ctx: Context | Interaction, message: Message, j
If `json` is True, send the information in a copy-pasteable Python format.
"""

try:
author = ctx.author
bot = ctx.bot
Expand Down Expand Up @@ -546,7 +545,6 @@ async def raw(self, ctx: Context, message: Message) -> None:

async def _raw_context_menu_callback(self, interaction: discord.Interaction) -> None:
"""The callback to be invoked when using !raw's context menu button."""
pass

@raw.command()
async def json(self, ctx: Context, message: Message) -> None:
Expand Down

0 comments on commit c0aa7d1

Please sign in to comment.