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',
'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',