Skip to content

Commit

Permalink
helpのコード(?)化&ぬるぽ追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Syunngiku0402 committed Dec 16, 2024
1 parent 4554e21 commit 00815c1
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion CommandLab.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import aiofiles
import discord
import yaml
import random
from discord import app_commands
from discord.abc import User
from discord.ext import commands
Expand Down Expand Up @@ -51,6 +52,17 @@
"""


GABU = """
**  **Λ_Λ  \\
  ( ・∀・)   | | ガッ
 と    )    | |
   Y /ノ    人
    / )    <  >_Λ∩
  _/し' //. V`Д´)/
 (_フ彡        / ←>>1
"""


class CommandLabBot(commands.Bot):
status_index: int

Expand Down Expand Up @@ -147,7 +159,11 @@ async def on_message(message: discord.Message):
return

elif message.content.startswith("ぬるぽ"):
await message.channel.send("ガブッ")
num = random.random()
if num < 0.95:
await message.channel.send("ガブッ")
else:
await message.channel.send(GABU)

elif message.content.startswith("!d bump"):
await message.channel.send("そのコマンドは<t:1648767600:F>にサ終しました(笑)")
Expand Down

0 comments on commit 00815c1

Please sign in to comment.