Trying to get bot online with no errors

testing
sgoudham 4 years ago
parent 90f8d4f906
commit a8b05759a7

@ -96,7 +96,7 @@ class Fun(commands.Cog):
channels = ["bot-commands"] channels = ["bot-commands"]
path = pathlib.Path(r'C:\Users\sgoud\PycharmProjects\EnsoBot\txtfiles\eightball.txt') path = pathlib.Path(r'C:\Users\sgoud\PycharmProjects\EnsoBot\txtfiles\eightball.txt')
with open(path, mode='r') as file: with open(path) as file:
_8ball_array = file.readlines() _8ball_array = file.readlines()
if str(ctx.channel) in channels: if str(ctx.channel) in channels:

Loading…
Cancel
Save