Compare commits
No commits in common. "10e2ac1d83a6815a289d65690fa7b366212e5182" and "a014770ca2e4bb448dc70b81996b0230e0183042" have entirely different histories.
10e2ac1d83
...
a014770ca2
1 changed files with 0 additions and 4 deletions
|
@ -14,13 +14,9 @@ class ExportChannels(commands.Cog):
|
|||
bot_token = None
|
||||
)
|
||||
|
||||
class ConfigException(Exception):
|
||||
pass
|
||||
|
||||
async def export(self, channels: list):
|
||||
token = await self.config.bot_token()
|
||||
if token is None:
|
||||
raise(self.ConfigException, "Bot token not set!")
|
||||
self.data_path = data_manager.cog_data_path(self)
|
||||
self.bundled_data_path = data_manager.bundled_data_path(self)
|
||||
out = f'{self.data_path}{os.sep}Exported Channels'
|
||||
|
|
Loading…
Reference in a new issue