diff --git a/exportchannels/exportchannels.py b/exportchannels/exportchannels.py index 5d10c96..3cf7cf3 100644 --- a/exportchannels/exportchannels.py +++ b/exportchannels/exportchannels.py @@ -30,7 +30,7 @@ class ExportChannels(commands.Cog): 'DiscordChatExporter.Cli.dll', 'export', '--format', 'HtmlDark', - '--output', f'/{out}/%G (%g)/%C (%c)/Export.html', + '--output', f'{os.sep}{out}{os.sep}%G (%g){os.sep}%C (%c){os.sep}Export.html', '--token', f'{token}', '--channel', {channel}, '--media', @@ -43,7 +43,7 @@ class ExportChannels(commands.Cog): 'DiscordChatExporter.Cli.dll', 'export', '--format', 'Json', - '--output', f'/{out}/%G (%g)/%C (%c)/DCE-f.json', + '--output', f'{os.sep}{out}{os.sep}%G (%g){os.sep}%C (%c){os.sep}DCE-f.json', '--token', f'{token}', '--channel', {channels}, '--reuse_media',