Discourse Bot Lib. The Bot lib for discourse. Made with python
Hi I made a bot lib for Discourse a few days ago, and I’m posting it here to publish it to the wider community.
It is made with python3.9. but should work with 3.8
What is a bot lib
A bot lib is some code that allows you to connect to a server that you can chat on, play games on, etc. It allows you to control an account that you have access to
Here is a working example of a bot (on another discourse forum)
Hi! For those who aren’t versed in savvy stuff, can you explain (briefly, think “Explain Me Like I’m Five” ) what is the purpose of this “bot lib”?
I tried to have a glimpse by searching “python bot lib” on the Internet but the results are quite technical.
My understanding is that this is a script that allows bots to post on Discourse through a single, dedicated Discourse account?
Have you a few examples of practical, real-life purposes?
How would you manage the limit rates?
I had a custom WordPress plugin that allowed WP users to post on Discourse through a single Discourse account (WP comment → Discourse reply). It was barely used, but the post rate limit and the maximum consecutive messages among other things had to be thought about.
So, how do you circumvent these potential issues?
Could you maybe create new Discourse accounts on the fly?
Generally all you need to do is give the user more perms, as its the programmers choice on when they send a message
no i could not. This uses the discourse API.
it is completely separate from the hosting server and uses user API keys that by default can only be generated by an admin user without a plugin