Discourse News and Discourse Chatbot conflict

The recent additions to @merefield his chatbot plugin broke the news plugin.

/var/www/discourse/plugins/discourse-news/lib/news/engine.rb:1:in `<main>': News is not a module
/var/www/discourse/plugins/discourse-chatbot/gems/3.2.2/gems/news-api-0.2.0/lib/news-api.rb:8: previous definition of News was here (TypeError)
1 Like

Glad to see someone using both.

I’ll take a look. I might even explore other news providers.


This looks promising:

I might have a go at writing an adaptor for this tomorrow.

UPDATE: turns out there’s a few too many hoops to jump through to get access … so I’ll probably defer that til later.

PR opened:

That’s merged.

@richard when you have time can you please confirm that’s resolved?

1 Like

Yes, the conflict is gone - did not test the functionality itself.

1 Like