Upload files to ''

This commit is contained in:
C20H25N3O 2020-08-09 22:29:09 +00:00
parent c432dbad6d
commit c3f597ab62
5 changed files with 127 additions and 0 deletions

1
Procfile Normal file
View file

@ -0,0 +1 @@
worker: python bot.py

88
bot.py Normal file
View file

@ -0,0 +1,88 @@
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)

5
requirements.txt Normal file
View file

@ -0,0 +1,5 @@
discord.py[voice]
PyNaCl==1.3.0
pandas
dnspython==1.16.0
async-timeout==3.0.1

32
stats.txt Normal file
View file

@ -0,0 +1,32 @@
Time: 1594029388, Messages: 0, Members Joined: 0
Time: 1594029393, Messages: 0, Members Joined: 0
Time: 1594029398, Messages: 3, Members Joined: 0
Time: 1594029403, Messages: 0, Members Joined: 0
Time: 1594029408, Messages: 0, Members Joined: 0
Time: 1594029413, Messages: 0, Members Joined: 0
Time: 1594029418, Messages: 0, Members Joined: 0
Time: 1594029423, Messages: 0, Members Joined: 0
Time: 1594029428, Messages: 0, Members Joined: 0
Time: 1594029433, Messages: 0, Members Joined: 0
Time: 1594029438, Messages: 0, Members Joined: 0
Time: 1594029443, Messages: 0, Members Joined: 0
Time: 1594029448, Messages: 0, Members Joined: 0
Time: 1594029453, Messages: 0, Members Joined: 0
Time: 1594029458, Messages: 0, Members Joined: 0
Time: 1594029463, Messages: 0, Members Joined: 0
Time: 1594029468, Messages: 0, Members Joined: 0
Time: 1594029473, Messages: 0, Members Joined: 0
Time: 1594030653, Messages: 0, Members Joined: 0
Time: 1594030713, Messages: 1, Members Joined: 0
Time: 1594030772, Messages: 0, Members Joined: 0
Time: 1594030832, Messages: 1, Members Joined: 0
Time: 1594030892, Messages: 0, Members Joined: 0
Time: 1594030952, Messages: 0, Members Joined: 0
Time: 1594031012, Messages: 0, Members Joined: 0
Time: 1594031059, Messages: 0, Members Joined: 0
Time: 1594031767, Messages: 0, Members Joined: 0
Time: 1594032416, Messages: 0, Members Joined: 0
Time: 1594032476, Messages: 5, Members Joined: 0
Time: 1594032488, Messages: 3, Members Joined: 0
Time: 1594032529, Messages: 0, Members Joined: 0
Time: 1594032589, Messages: 3, Members Joined: 0

1
token.txt Normal file
View file

@ -0,0 +1 @@
NzI5NTI3ODY1ODMzNDIyOTQx.XwLkIQ.7Qi70rxuXaoPasIK810FO4ZuMDo