This commit is contained in:
SpookyDervish
2025-10-25 08:24:39 +11:00
parent e0b991ce18
commit 3f7c1e0b7d
4 changed files with 6 additions and 0 deletions

View File

@@ -328,6 +328,12 @@ async def on_message(message: discord.Message):
if content.find("goon") != -1: if content.find("goon") != -1:
response = "gooning is not allowed you fucking weirdo" response = "gooning is not allowed you fucking weirdo"
await decrease_mood(message) await decrease_mood(message)
elif content.startswith("play some music"):
song_name = choice(os.listdir("music"))
await message.reply("ok ill play " + song_name.rsplit(".", 1)[0])
file = os.path.join("music/", song_name)
await send_voice_message(file, message.channel)
return
elif content.startswith("speak "): elif content.startswith("speak "):
content = content.removeprefix("speak ") content = content.removeprefix("speak ")
await send_tts_message(content, message.channel) await send_tts_message(content, message.channel)

BIN
music/love story.mp3 Normal file

Binary file not shown.

BIN
music/silver springs.mp3 Normal file

Binary file not shown.

Binary file not shown.