Skip to content

Version 2.1

Compare
Choose a tag to compare
@KruASe76 KruASe76 released this 27 Dec 06:09
· 24 commits to main since this release

New

  • Slash commands! (alongside existing text commands)
    • Slash command descriptions (with localization, depends on the Discord UI language)
    • Slash command autocomplete

Changes

  • Language setting using buttons
  • Game language setting using reactions

Fixes

  • Inability to change language in DMs
  • Other minor fixes

Technical

  • Now using extensions
  • Hew help command logic using discord.Parameter
  • Modified project structure
  • Docstrings in util.py, generation.py
  • Other improvements

From pre-release

New

  • Small easter egg :)

Changes

  • Only user who started the game can choose the language for the dictionary now

Fixes

  • Brought back addition and deletion of servers to the database - this could cause bot not working on new servers

Technical

  • Update to python 3.11 and discord.py 2.1
  • Asynchronous Bot setup (via subclassing)
  • Using pathlib instead of os.path
  • Database is a singleton now
  • Deletion of duplicate ~300 lines of code (in the game mainloop) (yeah, I finally have realized how to avoid this)
  • Much optimization
  • Docstrings for Database methods