From c3f597ab6209dcd25fa9b70c130f487f815f989d Mon Sep 17 00:00:00 2001 From: C20H25N3O Date: Sun, 9 Aug 2020 22:29:09 +0000 Subject: [PATCH] Upload files to '' --- Procfile | 1 + bot.py | 88 ++++++++++++++++++++++++++++++++++++++++++++++++ requirements.txt | 5 +++ stats.txt | 32 ++++++++++++++++++ token.txt | 1 + 5 files changed, 127 insertions(+) create mode 100644 Procfile create mode 100644 bot.py create mode 100644 requirements.txt create mode 100644 stats.txt create mode 100644 token.txt diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..00a0ef3 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +worker: python bot.py \ No newline at end of file diff --git a/bot.py b/bot.py new file mode 100644 index 0000000..49f3481 --- /dev/null +++ b/bot.py @@ -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) \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..c12ca87 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +discord.py[voice] +PyNaCl==1.3.0 +pandas +dnspython==1.16.0 +async-timeout==3.0.1 \ No newline at end of file diff --git a/stats.txt b/stats.txt new file mode 100644 index 0000000..c8cc162 --- /dev/null +++ b/stats.txt @@ -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 diff --git a/token.txt b/token.txt new file mode 100644 index 0000000..80fe77c --- /dev/null +++ b/token.txt @@ -0,0 +1 @@ +NzI5NTI3ODY1ODMzNDIyOTQx.XwLkIQ.7Qi70rxuXaoPasIK810FO4ZuMDo \ No newline at end of file