music :3
This commit is contained in:
6
main.py
6
main.py
@@ -328,6 +328,12 @@ async def on_message(message: discord.Message):
|
||||
if content.find("goon") != -1:
|
||||
response = "gooning is not allowed you fucking weirdo"
|
||||
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 "):
|
||||
content = content.removeprefix("speak ")
|
||||
await send_tts_message(content, message.channel)
|
||||
|
||||
BIN
music/love story.mp3
Normal file
BIN
music/love story.mp3
Normal file
Binary file not shown.
BIN
music/silver springs.mp3
Normal file
BIN
music/silver springs.mp3
Normal file
Binary file not shown.
BIN
music/the portal radio song.mp3
Normal file
BIN
music/the portal radio song.mp3
Normal file
Binary file not shown.
Reference in New Issue
Block a user