Skip to content

v1.5.0

Latest

Choose a tag to compare

@keeiv keeiv released this 11 Nov 14:46
· 14 commits to main since this release

Version 1.5.0

Version 1.5.0 adds companions, AI chat, Arknights: Endfield and a shared blacklist, strengthens raid protection, and brings together every fix made since Version 1.4.0.

Companions

  • /pet gives each member one pixel companion, the same in every server and in direct messages: Fable, Ark or Nova.
  • Care for it (satiety, mood, energy), send it on expeditions for materials, and fight zone guardians once a day. Left alone for thirty days it wanders off; /pet recall always brings it back with nothing lost.
  • Companions run from Lv 2 to 100 with three evolution stages and a mutation; keepers run from Lv 1 to 60. Past Lv 90 only breakthroughs raise a companion, two levels each, with Streamsilver.
  • Twelve natures set where each aptitude starts and how high it can go. Aptitudes can be trained, and a nature can be changed once in seven days.
  • Nothing is bought with money or traded between members. The three species are tuned to even matchups. The rules are in docs/pet.md.

AI Chat

  • /ai choose picks one of two characters, and /ai chat or a mention of the bot gets an answer from her. The characters can search the web, and one can draw.
  • A mention can read the member's linked HoYoLAB and Endfield accounts to suggest teams.
  • Replies are counted against the shared allowance only once they are delivered.

Arknights: Endfield

  • /endfield shows a player's business card and showcased operators from a UID, and every owned operator once a SKPORT account is linked.
  • The website's account centre can link Endfield as well, and shows the public card.

Blacklist and Raid Protection

  • The bot reads the Mori.black shared blacklist. Users listed for a global ban are banned ahead of time in every server the bot is in.
  • Raid protection gained detection of alike messages across channels and accounts, attachment and sticker spam, malicious links, very new accounts, and anti-nuke for mass deletions and bans, with lockdowns that lift by themselves.

Reliability and Security

  • The daily check-in and giveaway loops no longer stop for good after one storage failure, and a check-in run cut short by a restart starts over.
  • A database connection lost mid-query now surfaces as a storage error instead of a raw driver error, so the status history keeps recording.
  • Emergency cache cleanup now looks at the bot's own memory, not the whole machine's.
  • Updated aiohttp to 3.14.5 and Pillow to 13.0 for published security advisories. The minimum Python version is now 3.11.

Documentation

  • An English README and contributing guide were added.
  • Source comments and docstrings are now in English throughout, with one section banner form, checked by a test.

Upgrading

  • Python 3.11 or later is required. Run pip install -e . in the bot's environment before starting it.
  • No data migration is needed. Companions are stored under data/storage/pets/.