---
# System prepended metadata

title: Email Reply

---

# Email Reply
This is the email reply for `Application Verification Request`
(Due to some error, videos are noisy)


# Bot Operation Clips

## Button Game
{%youtube NK1RAFyX8MY%}

## Tic-Tac-Toe Game
{%youtube Q1rbZu-3nJs%}

## Coin Toss
{%youtube npP1-wT3EC8%}

# Help Command List
Here are our help command screenshots and video clips.

## Video Clips
{%youtube lTVrtCAeG9Q%}

## Screenshots

<img src="https://i.imgur.com/SFH9VgZ.png" style="border-radius: 6px"/><br>

<img src="https://i.imgur.com/csdJ2xu.png" style="border-radius: 6px"/><br>

<img src="https://i.imgur.com/7DtL7KS.png" style="border-radius: 6px"/><br>


<img src="https://i.imgur.com/3w2Hd7l.png" style="border-radius: 6px"/><br>




# Most Used Command
The most used command of our discord bot: `牛弟弟`
The stats are from our Discord Support Server because we don't collect, or store users' command usage.

## Video Clips
The video clip is right over [here](#Button-Game)

## Code Snippets
Language: `Python`
Packages: `discord.py, discord-py-slash-command, asyncio, time`
```python=964
@slash.subcommand(base="didi", name="button", description="玩玩看按鈕遊戲!")
async def button(ctx: SlashContext):
  await ctx.defer()
  await asyncio.sleep(0.5)
  embed=discord.Embed(title="哞! 今晚，我想來點...", color=0x2f3136)
  msg = await ctx.send(embed=embed)
  await asyncio.sleep(0.5)
  __list__ = [
    "藍色的按鈕",
    "紅色的按鈕",
    "灰色的按鈕",
    "綠色的按鈕"
  ]
  colors = [
    ButtonStyle.blurple,
    ButtonStyle.red,
    ButtonStyle.gray,
    ButtonStyle.green,
  ]
  a = []
  for i in range(len(colors)):
    chosen = random.choice(colors)
    tag = __list__[colors.index(chosen)]
    a.append(
      create_actionrow(
        create_button(
          style=chosen,
          label=tag
        )
      )
    )
    colors.remove(chosen)
    __list__.remove(tag)
    __list__2 = [
    "藍色的按鈕",
    "紅色的按鈕",
    "灰色的按鈕",
    "綠色的按鈕"
  ]
  ans = random.choice(__list__2)
  await msg.edit(embed=discord.Embed(title=f"哞! 今晚，我想來點{ans}", color=0x2f3136), components=a)
  
  start = time.time()
  def check(res):
    return res.author.id == ctx.author.id
  
  try:
    res: ComponentContext = await wait_for_component(client, messages=msg.id, timeout=2, check=check)
  except:
    return await msg.edit(embed=discord.Embed(title="時間到!", color=0x2f3136), components=[create_actionrow(
      create_button(
        style=ButtonStyle.red,
        label="太慢了",
        disabled=True
      )
    )])
    
  took = time.time() - start
  main = "%.2f" % took
  if res.component['label'] == ans:
    await res.edit_origin(embed=discord.Embed(title="答對了!", description=f"花費了{main} 秒", color=0x2f3136), components=[create_actionrow(
      create_button(
        style=ButtonStyle.blurple,
        label="結束",
        disabled=True
      )
    )])
  else:
    await res.edit_origin(embed=discord.Embed(title="答錯了..", color=0x2f3136, description=f"花費了{main} 秒"), components=[create_actionrow(
      create_button(
        style=ButtonStyle.red,
        label="結束 (失敗)",
        disabled=True
      )
    )])
```