def run(self):
logger.debug("Processing actions in queue %s", self.bot.actionqueue)
self.event_thread.start()
+
+ self.channel.queue_declare(queue=self.bot.actionqueue, durable=True)
self.channel.basic_consume(self.callback, queue=self.bot.actionqueue)
self.channel.start_consuming()
channel.exchange_declare(exchange='topic_command', exchange_type='topic')
channel.exchange_declare(exchange='topic_parse', exchange_type='topic')
channel.queue_declare(queue=WORKER_QUEUE, durable=True)
+ channel.queue_declare(queue=self.actionqueue, durable=True)
for classes in PLUGIN_MODULES.values():
for cls in classes: