Make TwitterCog optional
This commit is contained in:
parent
07afd58577
commit
5e5aedebf6
1 changed files with 2 additions and 1 deletions
|
@ -245,4 +245,5 @@ class TwitterCog(Scale):
|
|||
|
||||
def setup(bot: Snake) -> None:
|
||||
"""Add TwitterCog to JARVIS"""
|
||||
TwitterCog(bot)
|
||||
if JarvisConfig.from_yaml().twitter:
|
||||
TwitterCog(bot)
|
||||
|
|
Loading…
Add table
Reference in a new issue