Skip to content

Commit

Permalink
タブン完成
Browse files Browse the repository at this point in the history
  • Loading branch information
Syunngiku0402 committed Oct 21, 2024
1 parent 1b267e6 commit 4db3fd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cogs/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
参加条件 : このサーバーに参加していること・下のボタンを押すこと
任意条件 : 春菊のチャンネルとうろk((((殴殴
-# 冗談です(笑)
締め切り : "
締め切り : 10/24 23:59"
"""


Expand All @@ -45,7 +45,7 @@ def __init__(self, bot: commands.Bot):
@discord.ui.button(label="応募")
async def pressedLotteryButton(self, interaction: discord.Interaction, button: discord.ui.button):
send_channel = await self.bot.fetch_channel(config.lottery_channel)
await send_channel.send(f"応募者 : {interaction.user.display_name}\n```{interaction.user.id}```")
await send_channel.send(f"応募者 : {interaction.user.display_name}\n```{interaction.user.name}```")
await interaction.response.send_message("応募されました。抽選開始までお待ちください。", ephemeral=True)


Expand Down Expand Up @@ -79,7 +79,7 @@ async def cmisc(
embed=discord.Embed(
title="1500人到達プレゼント企画!!",
description=LOTTERY_DESCRIPTION,
color=0x2B9788
color=0x2B9788,
),
view=LOttery(self.bot)
)
Expand Down

0 comments on commit 4db3fd0

Please sign in to comment.