Add required slash to file path
This commit is contained in:
parent
0b8557bff3
commit
0fab3b5a2b
@ -82,7 +82,7 @@ async def on_ready():
|
|||||||
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.')
|
||||||
with open(f'{bot.config_dir}restart', 'w') as f:
|
with open(f'{bot.config_dir}/restart', 'w') as f:
|
||||||
f.write('0')
|
f.write('0')
|
||||||
|
|
||||||
bot.run(bot.token)
|
bot.run(bot.token)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user