Skip to content

Commit

Permalink
fix remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
a3510377 committed Jan 15, 2024
1 parent 1272300 commit d73a2e5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bot/cogs/admin/clear.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import discord
from discord import Embed, Member, Message, User
from discord import Embed, Member, Message

from bot import ApplicationContext, BaseCog, Bot, Translator, cog_i18n

Expand All @@ -8,11 +8,6 @@

@cog_i18n
class ClearCog(BaseCog, name="管理"):
@discord.user_command()
async def add_member(self, ctx: ApplicationContext, user: User):
if ctx.guild_id != "":
return

@discord.slash_command(
guild_only=True,
i18n_name=_("刪除"),
Expand Down

0 comments on commit d73a2e5

Please sign in to comment.