Add markpages as subtask
Markpages is a subtask of our Red-Bot Related Task: [https://fs.golderweb.de/index.php?do=details&task_id=89 FS#89] # The following line will be added automatically # Related Task: [https://fs.golderweb.de/index.php?do=details&task_id=88 FS#88]
This commit is contained in:
4
red.py
4
red.py
@@ -68,6 +68,10 @@ def prepare_bot( task_slug, subtask, genFactory, subtask_args ):
|
||||
# Import related bot
|
||||
from bots.reddiscparser import DiscussionParserBot as Bot
|
||||
|
||||
elif subtask == "markpages":
|
||||
# Import related bot
|
||||
from bots.markpages import MarkPagesBot as Bot
|
||||
|
||||
# Subtask error
|
||||
else:
|
||||
jogobot.output( (
|
||||
|
||||
Reference in New Issue
Block a user