Add required slash to file path
This commit is contained in:
parent
ea8a678d46
commit
fb9e34bf27
@ -78,7 +78,7 @@ async def on_ready():
|
|||||||
channel = guild.get_channel(404569276012560386)
|
channel = guild.get_channel(404569276012560386)
|
||||||
await channel.send('Geeksbot v2 Running')
|
await channel.send('Geeksbot v2 Running')
|
||||||
logger.info('Done loading, Geeksbot is active.')
|
logger.info('Done loading, Geeksbot is active.')
|
||||||
with open(f'{bot.config_dir}restart') as f:
|
with open(f'{bot.config_dir}/restart') as f:
|
||||||
reboot = f.readlines()
|
reboot = f.readlines()
|
||||||
if int(reboot[0]) == 1:
|
if int(reboot[0]) == 1:
|
||||||
await bot.get_channel(int(reboot[1])).send('Restart Finished.')
|
await bot.get_channel(int(reboot[1])).send('Restart Finished.')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user