prevent run automine on start if automine disabled
This commit is contained in:
parent
07c460131c
commit
e930ce6994
1 changed files with 2 additions and 1 deletions
3
ubot.py
3
ubot.py
|
@ -193,7 +193,8 @@ async def main():
|
|||
else:
|
||||
await autobioebbing.eb(client, c, conn, None, None, get_id, my_id, message_q)
|
||||
|
||||
asyncio.ensure_future(avocmine.automine_avocado_task(client))
|
||||
if config.automine:
|
||||
asyncio.ensure_future(avocmine.automine_avocado_task(client))
|
||||
|
||||
await stat.biomod(client, c)
|
||||
|
||||
|
|
Loading…
Reference in a new issue