Skip to content

Commit

Permalink
🐛 fix: 업로드 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kms0219kms authored Apr 4, 2024
1 parent 1a55f77 commit 3a0bf6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cogs/ZzalUpload.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def upload_zzal(self, interaction: Interaction, message: Message) -> None:
await interaction.response.send_message(":warning: 짤 이름은 한 줄로 입력해 주세요.", ephemeral=True)
else:
await interaction.response.defer(thinking=True)
self._upload(interaction, message, uploadService.UploadType.ZZAL)
await self._upload(interaction, message, uploadService.UploadType.ZZAL)

async def upload_time(self, interaction: Interaction, message: Message) -> None:
if len(message.attachments) <= 0:
Expand All @@ -78,7 +78,7 @@ async def upload_time(self, interaction: Interaction, message: Message) -> None:
await interaction.response.send_message(":warning: 시간 이름은 한 줄로 입력해 주세요.", ephemeral=True)
else:
await interaction.response.defer(thinking=True)
self._upload(interaction, message, uploadService.UploadType.TIME)
await self._upload(interaction, message, uploadService.UploadType.TIME)

async def upload_dict(self, interaction: Interaction, message: Message) -> None:
if len(message.attachments) <= 0:
Expand All @@ -97,7 +97,7 @@ async def upload_dict(self, interaction: Interaction, message: Message) -> None:
await interaction.response.send_message(":warning: 단어 이름은 한 줄로 입력해 주세요.", ephemeral=True)
else:
await interaction.response.defer(thinking=True)
self._upload(interaction, message, uploadService.UploadType.DICT)
await self._upload(interaction, message, uploadService.UploadType.DICT)


async def setup(bot: commands.Bot):
Expand Down

0 comments on commit 3a0bf6f

Please sign in to comment.