Habitica Wiki
Habitica Wiki
Advertisement
Habitica Wiki



This is a simple bot, written to help with party-related tasks in Habitica. Some actual bot functionalities and their scheduling are likely too specific to be much use for others. However, the habot package contains modules that may serve as a good starting point for developing other tools for Habitica using Python, or configuring the bot to your own liking. (It also requires a machine to host the bot on, according to the GitHub instructions.)

The bot is in many ways a next step from habitica-helper, and functionality from there is actually directly used here.

Features[]

There are modules, e.g., for the following tasks. They might be handy for people developing their own Habitica assistance tools.

  • Listing Habitica birthdays of party members and creating birthday reminders
  • Listing, ticking, and creating tasks
  • Joining challenges
  • Sending and reading private and party messages
  • Interacting with the database

The bot is currently able to interact with the world around based on timed events (see run-scheduled.py) and by reacting to private messages.

Commands for these actions are recognized:

  • Respond to a ping
  • List birthdays of all party members
  • Send a message with a list of party members celebrating their Habitica birthday
  • Create a new sharing weekend challenge (e.g. the name of the challenge is currently hard-coded, so this might not be of use for others out of the box)
  • Award a random winner for a challenge (again, uses some hard-coded values, so usage requires some programming)
Advertisement