Trying to link subdirectories in heroku

pull/1/head
sgoudham 5 years ago
parent 047b059179
commit 90d8366556

@ -1,7 +1,6 @@
import asyncio import asyncio
import datetime import datetime
import random import random
from pathlib import PureWindowsPath
import discord import discord
from discord.ext import commands from discord.ext import commands
@ -108,8 +107,8 @@ class Fun(commands.Cog):
if str(ctx.channel) in channels: if str(ctx.channel) in channels:
# path = PurePath('Ensobot', 'kissing.txt') # path = PurePath('Ensobot', 'kissing.txt')
path = PureWindowsPath('C:', 'Users', 'sgoud' 'PycharmProjects', 'EnsoBot', 'images', 'kissing.txt') # path = PureWindowsPath('C:', 'Users', 'sgoud' 'PycharmProjects', 'EnsoBot', 'images', 'kissing.txt')
with open(str(path)) as file: with open('images/kissing.txt') as file:
kissing_array = file.readlines() kissing_array = file.readlines()
# set member as the author # set member as the author
@ -146,7 +145,7 @@ class Fun(commands.Cog):
try: try:
if str(ctx.channel) in channels: if str(ctx.channel) in channels:
with open('eightball.txt') as file: with open('images/eightball.txt') as file:
_8ball_array = file.readlines() _8ball_array = file.readlines()
await ctx.send(f'Question: {question}\nAnswer: {random.choice(_8ball_array)}') await ctx.send(f'Question: {question}\nAnswer: {random.choice(_8ball_array)}')

@ -26,7 +26,7 @@ class Waifus(commands.Cog):
async def kakashi(self, ctx): async def kakashi(self, ctx):
try: try:
with open('kakashiImages.txt') as file: with open('images/kakashiImages.txt') as file:
kakashi_array = file.readlines() kakashi_array = file.readlines()
if str(ctx.channel) in channels: if str(ctx.channel) in channels:

@ -0,0 +1,55 @@
"Hamothy is preoccupied with catching a case"
“The prophet Kate believes it will come true”
“Josh doesn't believe in the outcome :(“
“Izzy can't predict this"
“Idk idiot lmao“
“Why are you even asking me“
“It's not like I can read your question“
“Zara wants to protest your question“
“Stitch will definitely get back to you“
“*Kakashi slams you to the wall*“
“Kate is too busy reading yaoi to answer your question“
“It- It's not lik- It's not like I want to answer your question or anything *tsundere noises*“
“Connor is too busy making tea and simping for beautiful women to reply to this“
“Maybe“
“Who said you could ask that question?“
“Ifrah cannot answer that“
“Hussein be spitting too much fire to look at your weak ass question“
“Literally no one gives a shit“
“N O spells NO“
“Find something better to do with your spare time smh“
“Sure but did you know that Izzy smells?“
“No but did you know that Stitch smells?“
“Get back to horny jail RIGHT NOW“
“Nick Cock Bro“
“Nice Tits“
“No“
“Yes"
“Pffft you wish“
“Never in a million years“
“You're wasting your time asking me“
“Taz is too busy doing ahegao faces on tiktok to care“
“Leave me alone. I'm sad :(“
“Shoot your Shot King“
“Of course!“
“If you believe hard enough it'll come true!!“
“Inna likes this question but you'll have to answer it yourself ╮(︶▽︶)╭“
“Dm Taz to truly find out the answer to this one“
“Hussein approves of these FIRE bars“
“Why you gotta ask me a question when I'm just vibin bro :pensive: “
“Hamothy LOVES this question and nods approvingly“
“I don't have the energy to answer this question...“
“The Swedish fish agrees“
“You're better off asking Dyno Ensō is in a bad mood right now :(“
“The answer lies within your heart“
“All the signs point to yes!“
“Marshall would love to agree with you“
“That's so litty titty bro“
“I'm Izzy and I approve of this message“
“Inna would love to agree with you“
“Hamothy has used his godlike like powers to align the stars for you it must be true“
“Gabriel appears out of thin air and smites you“
“Yes yes yes!!!“
"niKki sAys gO gEts tHeM HorSie"
"<:Lukas:718940468137951253>"
"McRib has not deemed you worthy of a response"

@ -0,0 +1,101 @@
https://cdn.discordapp.com/attachments/714671068941647933/717201077346238514/image0.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717201077669331036/image1.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717201077941829722/image2.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717201078633889913/image4.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717201078885810176/image5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717203540048871456/40964a8ec3616dd143db1ac63c4090ee.jpg
https://media.discordapp.net/attachments/714671068941647933/717203546772340846/4707601f950c412dd6978c8264308632.jpg
https://media.discordapp.net/attachments/714671068941647933/717203597774946354/7941b52067df70825ae3a9051acfd98d.jpg
https://media.discordapp.net/attachments/714671068941647933/717203650333900840/dafb0bc78adc3548e9c9b24460d7c10d.jpg
https://media.discordapp.net/attachments/714671068941647933/717203693925040188/aad4edeac8e034683b5602cf01a41333.jpg?width=465&height=658
https://media.discordapp.net/attachments/714671068941647933/717203717085986836/5851485577679be2a09bdebef7e35522.jpg?width=390&height=658
https://media.discordapp.net/attachments/714671068941647933/717203783016513626/e2a746123c1e36d995fa95c44a3c3f85.jpg
https://media.discordapp.net/attachments/714671068941647933/717203811923394611/268a3266d4c255b72925a3eb541f4cf5.jpg?width=517&height=657
https://media.discordapp.net/attachments/714671068941647933/717203866986479636/b283f71be006957107926e1d5d9ab60e.jpg?width=591&height=658
https://cdn.discordapp.com/attachments/714671068941647933/717203972925947984/6f46bb96761b673f1c4f4b5584bf1ba8.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204020711915581/4025c1241a206406555bd6ab53640291.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204198491422770/94287174f2f5e5316144981190a38c66.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204289755283547/a9868fb38857dd51ccc93a3e202644ff.gif
https://cdn.discordapp.com/attachments/714671068941647933/717204351638175784/3967dabc9b069080daded9a38f1d9e49.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204405178597396/3d063a07af0cfa320a100e169c959ff4.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204454264537151/4c607bbcc9a360257e1d14b5c9858b21.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204495939141692/9d85777e4a452f2f38464f8a11dece5b.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204530760122478/edeaa333ed2fb68aa1205a783d0bb783.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204561936252958/4f39f6de439a99b4113f6a33fd803079.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204627484967012/ebb8b6713aff32745503d6cbe8996569.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204713648685126/a6cb9a07745c163d14d736e077765ec8.gif
https://cdn.discordapp.com/attachments/714671068941647933/717204734905417738/3a081283ef670fd5326a694b7d41d35d.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717204879155921006/864704a29ef1201f78f7f8fd71f57cf7.gif
https://cdn.discordapp.com/attachments/714671068941647933/717204999792361472/d9b273a711ccf1e6af531443a4cf06b5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717205121259405332/d2426eff482c18af2586e1fd2499d3d5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717205186463924224/7e27f5a97a80444ab5fc773e4d09d1bb.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717205371835514930/IMG_20191212_215715_438.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717205515519655976/df09731e2b38c1f50cc57f4600d937f5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206154882842695/image0.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206155356798986/image1.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206155562057780/image2.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206155797200896/image3.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206156031819786/image4.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206156191334460/image5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206156673679380/image6.gif
https://cdn.discordapp.com/attachments/714671068941647933/717206157227327578/image7.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206621121544230/image0.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206621310418954/image1.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206621666672721/image2.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206621993959474/image3.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206622249943050/image4.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206622489018458/image5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717206622979489792/image6.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717545579713921065/image0.gif
https://cdn.discordapp.com/attachments/714671068941647933/717545580070699068/image1.gif
https://cdn.discordapp.com/attachments/714671068941647933/717545580393398332/image2.gif
https://cdn.discordapp.com/attachments/714671068941647933/717545580804702228/image3.gif
https://cdn.discordapp.com/attachments/714671068941647933/717545581299499179/image4.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717545581526122586/image5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717545581815529532/image6.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717545582046085140/image7.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717545582234697748/image8.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717545582427766784/image9.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717547623334019102/image0.gif
https://cdn.discordapp.com/attachments/714671068941647933/717547623762100254/image1.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717547624122810388/image2.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717547624374206554/image3.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717547624655355944/image4.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717547624906883082/image5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717547625095626752/image6.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717547625557262417/image7.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717547625762521167/image8.gif
https://cdn.discordapp.com/attachments/714671068941647933/717547626081288242/image9.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717548032249430016/image0.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717548032614465556/image1.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717548033000079380/image2.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717548033344143410/image3.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717548033612709999/image4.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717548033868300298/image5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717548034149449738/image6.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717548034359296046/image7.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717548034631663616/image8.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717548034820538406/image9.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551546946158602/image0.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551547197947954/image1.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551547525103616/image2.gif
https://cdn.discordapp.com/attachments/714671068941647933/717551547776630824/image3.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551548170764398/image4.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551548380610570/image5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551548720349235/image6.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551549139648592/image7.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551549357883512/image8.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551549525786745/image9.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551728316121148/image0.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551728873963610/image1.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551729343725568/image2.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551729343725568/image2.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551729683595334/image3.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551730065276948/image4.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551730400821298/image5.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551731537477662/image6.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551731969622039/image7.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551732338458654/image8.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717551732594442290/image9.jpg
https://cdn.discordapp.com/attachments/714671068941647933/717552058877739119/image0.gif
https://cdn.discordapp.com/attachments/718206068089421845/718252282017349642/9bea6dd9bdc0053ed60bcd29c5d50170c6cab54e_hq.jpg
Loading…
Cancel
Save