איך להכין בקלות בוטים ל-Discourse?

סיכום מבוסס בינה מלאכותית

The discussion revolves around creating bots for Discourse, with users exploring the possibility of a dedicated platform similar to Discord’s developer portal. Bobby99as asks about plans for an easy bot creation feature, but awesomerobot confirms no such plans exist. Qursch explains that bots can be created via plugins, sharing a GitHub example of a bot that closes topics based on commands. Falco notes that Discourse plugins serve the same purpose as Discord bots. merefield shares a plugin framework for syncing Discourse and Discord. Bobby99as clarifies the desire for a user-friendly API portal, and pfaffman points to existing API documentation, though Bobby99as notes accessibility issues when Discourse branding is removed.

Is there plans on releasing a feature to easily make bots that can use the API of the form and possibly make bot accounts

No, we don’t currently have plans to do so.

לייק 1

Oh ok I was thinking of something like how discord has their bots which you can make on their developer portal maybe something like that could be set up for discourse so people can freely interact with the API?

It’s possible to create ‘bots’ using a plugin.

I recently created a plugin that allows members of a certain group to create a reply with a certain command which leads to a bot (system user) closing a topic. I suggest you check it out:

While specific functions to make bots aren’t integrated into the core of Discourse, it should be relatively similar to the logic of creating a Discord bot.

4 לייקים

Yes, what Discord calls bots are equivalent to Discourse plugins. Same idea, different names.

7 לייקים

Here’s a plugin that provides a framework for a bot that works across Discourse and Discord or either or: Discord Bot Construction Kit 🤖

It’s intended to be forked and extended how you see fit, but obviously targeted at those using Discord alongside.

3 לייקים

I was talking about a second part of the website that would be dedicated to API like the discord developer page where you can like create a bot account or use the API where it would also have the documentation

Everything is available via the API. It’s documented at How to reverse engineer the Discourse API

לייק 1

I see that but I was thinking of making it a little bit easier to access because when people access a community that uses discourse but with the discourse branding removed they won’t really be able to access the API documents