he reccomends songs so cool rite??
This commit is contained in:
parent
ee05963dbb
commit
c708f0fd61
1 changed files with 6 additions and 3 deletions
9
main.py
9
main.py
|
@ -1,13 +1,12 @@
|
||||||
import discord
|
import discord
|
||||||
from discord import *
|
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
import os
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
PREFIX="!"
|
|
||||||
intents: discord.Intents = discord.Intents.default()
|
intents: discord.Intents = discord.Intents.default()
|
||||||
intents.messages = True
|
intents.messages = True
|
||||||
intents.message_content = True
|
intents.message_content = True
|
||||||
bot: commands.Bot = commands.Bot(command_prefix=PREFIX, intents=intents, allowed_mentions=discord.AllowedMentions(everyone=False, roles=False, users=False, replied_user=True))
|
bot: commands.Bot = commands.Bot(command_prefix="djmurderer.", intents=intents,replied_user=True)
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_message(message):
|
async def on_message(message):
|
||||||
|
@ -28,10 +27,14 @@ async def on_message(message):
|
||||||
elif "possibly" or "maybe" in reply:
|
elif "possibly" or "maybe" in reply:
|
||||||
await message.channel.send("yes or no you bumbling moron")
|
await message.channel.send("yes or no you bumbling moron")
|
||||||
return
|
return
|
||||||
|
|
||||||
if message.author.bot:
|
if message.author.bot:
|
||||||
return
|
return
|
||||||
if "dj" in message.content:
|
if "dj" in message.content:
|
||||||
await message.channel.send("are you a dj?")
|
await message.channel.send("are you a dj?")
|
||||||
|
msg = message.content.lower()
|
||||||
|
if ("song" in msg or "songs" in msg) and ("recommend" in msg or "recommended" in msg or "recommendations" in msg):
|
||||||
|
await message.channel.send("kill the dj by green day")
|
||||||
elif "inspiration" in message.content:
|
elif "inspiration" in message.content:
|
||||||
await message.channel.send("look at this we got bob ross here fucking loser")
|
await message.channel.send("look at this we got bob ross here fucking loser")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue