feat: added configexception
This commit is contained in:
parent
a014770ca2
commit
97c6bcfa2b
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ class ExportChannels(commands.Cog):
|
||||||
bot_token = None
|
bot_token = None
|
||||||
)
|
)
|
||||||
|
|
||||||
|
class ConfigException(Exception):
|
||||||
|
pass
|
||||||
|
|
||||||
async def export(self, channels: list):
|
async def export(self, channels: list):
|
||||||
token = await self.config.bot_token()
|
token = await self.config.bot_token()
|
||||||
|
|
Loading…
Reference in a new issue