fix: windows compat

This commit is contained in:
Seaswimmer 2023-08-10 23:15:49 -04:00
parent 9045c85cae
commit dbf173560d
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -30,7 +30,7 @@ class ExportChannels(commands.Cog):
'DiscordChatExporter.Cli.dll', 'DiscordChatExporter.Cli.dll',
'export', 'export',
'--format', 'HtmlDark', '--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}', '--token', f'{token}',
'--channel', {channel}, '--channel', {channel},
'--media', '--media',
@ -43,7 +43,7 @@ class ExportChannels(commands.Cog):
'DiscordChatExporter.Cli.dll', 'DiscordChatExporter.Cli.dll',
'export', 'export',
'--format', 'Json', '--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}', '--token', f'{token}',
'--channel', {channels}, '--channel', {channels},
'--reuse_media', '--reuse_media',