diff --git a/exportchannels/exportchannels.py b/exportchannels/exportchannels.py index c52a259..8eac167 100644 --- a/exportchannels/exportchannels.py +++ b/exportchannels/exportchannels.py @@ -18,7 +18,7 @@ class ExportChannels(commands.Cog): def export(self, ctx, channel, token): self.data_path = data_manager.cog_data_path(self) self.bundled_data_path = data_manager.bundled_data_path(self) - out = f'{self.data_path}/Exported Channels' + out = f'{self.data_path}{os.sep}Exported Channels' try: os.mkdir(out) except FileExistsError: @@ -67,7 +67,7 @@ class ExportChannels(commands.Cog): await self.config.bot_token.set({token}) await ctx.send(content="Token set!") await ctx.delete() - + @exportset.command() @checks.is_owner() async def checkoutputpath(self, ctx):