{"repo":"SleeplessOne1917/lemmy-bot","free":true,"listed":false,"github":"https://github.com/SleeplessOne1917/lemmy-bot","clone":"git clone https://github.com/SleeplessOne1917/lemmy-bot.git","description":"A bot library for Lemmy, the fediverse link aggregator.","language":"TypeScript","stars":103,"topics":["bot","bots","fediverse","fediverse-bot","lemmy","lemmy-bot","typescript","typescript-library"],"license":"AGPL-3.0","category":"workflow-automation","readme_excerpt":"lemmy-bot Library to make it easier to make bots for Lemmy , the fediverse forum/link aggregator. Features - Respond to different events that happen in lemmy, such as posts, comments, and modlog actions - Perform actions on a schedule - Supports most actions a regular Lemmy account can make, including moderator and admin actions Installation Note : This library only works with Node versions 18 and above. Run or or Lemmy Versions For lemmy versions 0.17.x, use lemmy-bot 0.3.9 and lower. For lemmy versions 0.18.x, use lemmy-bot 0.4.x. For lemmy versions 0.19.x, use lemmy-bot 0.5.x or 0.6.x. Documentation LemmyBot Create a bot by newing up a LemmyBot Calling bot.start() will start the bot. Calling bot.stop() will stop it. --- LemmyBotOptions What your bot does is determined by the options passed to the constructor. They are as follows: credentials Log in credentials for the bot. Accepts an object with username and password properties. If not provided, the bot can still poll the instance for items like posts, comments, and modlog actions, but it will not be able to perform actions that require an account. instance REQUIRED The Lemmy instance your bot will connect to. Only pass the domain name of the instance, e.g. if the bot is supposed to be on lemmy.ml, pass 'lemmy.ml' , not 'https://lemmy.ml' . connection Options for the bot's connection. It is an object with the following properties: - minutesBeforeRetryConnection : If the bot's connection closes, the bot will wait this many ","default_branch":null,"files":null,"tree":[],"storefront":"/r/SleeplessOne1917","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SleeplessOne1917/lemmy-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}