Skip to content

Releases: KruASe76/Codenames-bot

Version 2.2.1

10 Feb 21:30
Compare
Choose a tag to compare

New

  • Multiple games on the same server support

Fixes

  • No more duplicate fields in captains' DMs
  • If a user calls a command in bot's DMs, they also will be added to the database (to keep custom prefix and language)
  • help will not display server-only command when called in bot's DMs
  • Typo in russian localisation
  • Other fixes

Technical

  • Now using Pipenv as dependency manager and runner
  • Separate maps for interface languages and game languages
  • Some code formatting

Version 2.2

29 Dec 19:39
Compare
Choose a tag to compare

Registration revamp

  • Single game command instead of register, leave, players and clear
  • Dynamic player list in an embed with buttons to register (and leave), start the game and cancel the registration below
  • Confirmations of starting the game and of cancelling the registration

Fixes

  • 000 (message to finish the game prematurely) now is listened from every player
    (earlier was listened only from the players of team whose turn it was)

Technical

  • Deletion of columns players, team1, team2 from guilds table of database

Sad

  • First easter egg deletion

Version 2.1

27 Dec 06:09
Compare
Choose a tag to compare

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

Version 2.1-pre

19 Dec 22:25
Compare
Choose a tag to compare
Version 2.1-pre Pre-release
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

Version 2.0

14 Nov 13:28
Compare
Choose a tag to compare

New

  • Localizations support
  • Russian localization
  • Custom prefixes in DMs
  • "Playing since" field in player statistics
  • Captain filed sending to the game text channel at the end of the game
  • Bot avatar

Fixes

  • Members who are not playing can affect voting for the dictionary/captain
  • Captain move verification bug
  • Double field sending if a word without team is last opened

Technical

  • Complete project structure overhaul
  • Switch to aiosqlite from sqlite3
  • Code readability improvement
  • Fulfilled all (or almost all) PEP 8 warnings
  • Big README.md update

Version 1.0.2

22 Apr 20:01
Compare
Choose a tag to compare

After Version 1.0.1

Bugfixes

  • Stats command not working in DMs
  • Possibly sending field from another game on another server

QOL

  • Classes Colors and UltraHD from generation.py do not need initialization anymore

After Version 1.0

Bugfixes

  • Sending the field twice when the last opened word in a move is that team's word

Text

  • Replaced "team play" with "team game" (I don't know how I wrote that :/)

QOL

  • Corrected typo in a comment in generation.py, line 100

Version 1.0

07 Jan 17:45
Compare
Choose a tag to compare

Initial release

The fist version is finished
I found a Release button on GitHub, so.. why not? :)

I updated this release, so the GitHub's "Source code" attachment contains code from 1.0.2, and I attach old "source-code" archives