Changed file directories for files

pull/2/head
sgoudham 4 years ago
parent 67699b7a23
commit d97ee078cf

@ -24,7 +24,7 @@ class Embeds(commands.Cog):
try:
if str(ctx.channel) in channels:
with open('images/kissing.txt') as file:
with open('images/FunCommands/kissing.txt') as file:
kissing_array = file.readlines()
# set member as the author
@ -58,7 +58,7 @@ class Embeds(commands.Cog):
try:
if str(ctx.channel) in channels:
with open('images/cuddling.txt') as file:
with open('images/FunCommands/cuddling.txt') as file:
cuddling_array = file.readlines()
# set member as the author

@ -111,7 +111,7 @@ class Fun(commands.Cog):
try:
if str(ctx.channel) in channels:
with open('images/eightball.txt') as file:
with open('images/FunCommands/eightball.txt') as file:
_8ball_array = file.readlines()
await ctx.send(f'Question: {question}\nAnswer: {random.choice(_8ball_array)}')

@ -22,7 +22,7 @@ class Waifus(commands.Cog):
try:
with open('images/kakashiImages.txt') as file:
with open('images/WaifuImages/kakashiImages.txt') as file:
kakashi_array = file.readlines()
if str(ctx.channel) in channels:
@ -55,7 +55,7 @@ class Waifus(commands.Cog):
try:
with open('images/togaImages.txt') as file:
with open('images/WaifuImages/togaImages.txt') as file:
toga_array = file.readlines()
if str(ctx.channel) in channels:
@ -87,7 +87,7 @@ class Waifus(commands.Cog):
async def tamaki(self, ctx):
try:
with open('images/tamakiImages.txt') as file:
with open('images/WaifuImages/tamakiImages.txt') as file:
tamaki_array = file.readlines()
if str(ctx.channel) in channels:
@ -118,7 +118,7 @@ class Waifus(commands.Cog):
async def ensoperson(self, ctx):
try:
with open('images/serverMembers.txt') as file:
with open('images/ServerImages/serverMembers.txt') as file:
marsh_array = file.readlines()
if str(ctx.channel) in channels:

Loading…
Cancel
Save