import discord import random def read_token(): with open("token.txt","r") as f: #bot token in token.txt lines = f.readlines() return lines[0].strip() token = read_token() client = discord.Client() @client.event async def on_member_join(member): for channel in member.server.channels: if str(channel) == "chat": await client.send_message(f"""Hey {member.mention}!""") @client.event async def on_message(message): id = client.get_guild(480263746325839873) #server id in parameters porn = ["https://nhentai.net", "https://pornhub.com", "https://xvideos.com", "https://hentaihaven.xxx"] inspire = ["It's your own fault for being fooled", "You're all bark and no bite", "If you're to reach great heights, you first have to surpass someone else", "Naturally, I don't do homework!", "I don't need your pity."] swoon = ["Well, here I am. What are your other two wishes? ;p", "You're so cute I could just eat you up :3", "Has anyone told you that you have a really nice butt", "*pats your head*", "I'm here for you", "Gimme a hug"] #valid_users = ["Indica#6423"] if message.content == "S.help": embed = discord.Embed(title="Satania Commands", description="satania_bot help") embed.add_field(name="S.porn", value="Links a random porn site to add flavor to your masturbation") embed.add_field(name="S.inspire", value="Satania inspires you with her all-famous quotes") embed.add_field(name="S.chat", value="Commands for chatting with Satania") await message.channel.send(content=None, embed=embed) #if str(message.author) in valid_users and message.content == "!users": #await message.channel.send(f"""# of Members: {id.member_count}""") if message.content == "S.porn": await message.channel.send(random.choice(porn)) if message.content == "S.inspire": await message.channel.send(random.choice(inspire)) await message.channel.send("*satania_bot is not responsible for life failure following her advice*") if message.content == "S.chat": embed = discord.Embed(title="Chat with Satania!", description="") embed.add_field(name="Wholesome", value="hi/hey/hello satania\nthank you satania\ni love you satania\ncomfort me satania\ngoodnight satania") embed.add_field(name="Advanced", value="want to hold hands satania?\nswoon me satania") embed.add_field(name="NSFW", value="fuck you satania") await message.channel.send(content=None, embed=embed) if message.content == "thank you satania": await message.channel.send("You're welcome <3") if message.content == "hey satania": await message.channel.send("Hey cutie, how are you?") if message.content == "hi satania": await message.channel.send("Hey cutie, how are you?") if message.content == "hello satania": await message.channel.send("Hey cutie, how are you?") if message.content == "good": await message.channel.send("Glad to hear it :)") if message.content == "i love you satania": await message.channel.send("I love you too <3") if message.content == "comfort me satania": await message.channel.send("Are you okay sweetheart? Come lay on my lap.. I promise everything will be alright.") if message.content == "goodnight satania": await message.channel.send("Goodnight dear, rest well.") if message.content == "want to hold hands satania?": await message.channel.send("A-Absolutely .///.") if message.content == "swoon me satania": await message.channel.send(random.choice(swoon)) if message.content == "fuck you satania": await message.channel.send("I'm sorry..") client.run(token)