Skip to content

Releases: yakMM/POG-bot

POG bot v3.5

15 Nov 08:55
Compare
Choose a tag to compare

v3.5:

Now using discord components instead of the reaction system:

  • Refactored ContextWrapper system and display classes
  • Added Interaction module
  • Added Captain and Player interaction classes
  • Now using buttons for captain selection phase
  • Added buttons for player picking
  • Now using buttons for faction selection phase
  • Now using a select menu for base selection
  • Now using buttons for CaptainValidator
  • Added buttons for player picking
  • Now using buttons for getting-ready phase
  • Now using buttons for status refresh
  • Now using buttons for lobby timeout reset
  • Now using buttons for account validation
  • Now using buttons for rule acceptance
  • It is no longer possible to use message command for accept/decline: only interactions will work
  • Removed the reaction module

Other fixes:

  • =captain command is now admin-only
  • Improved resilience to network client error
  • Fixed the signal module to save the lobby on restart
  • Updated the weapon script
  • Standardized the use of match.proxy
  • Small Jaeger character registration improvement

POG bot v3.4

08 Nov 10:51
Compare
Choose a tag to compare

v3.4:

This is the last version with the reaction system, newer versions will use discord UI component.

  • Added HSR to scoreboard
  • Score calculation should now be faster
  • Reworked stats (stats are now per-class)
  • Added lobby status to notify ping
  • Now allow separation characters (,;/) instead of only space
  • Added squittal script plugin (beta)
  • TeamCaptains can now be subbed and swapped
  • Admin can now sub players in the captainSelection phase
  • Subbing, benching, picking, etc are now possible when teams are ready. The ready state will be automatically toggled.
  • Small string fixes

POG bot v3.3

03 May 15:45
Compare
Choose a tag to compare

v3.3:

  • Added stat processor module
  • Added =psb command for usage tracking
  • Changed the way DM messages are handled
  • updated = timeout command
  • It is now possible to use =swap and =sub between two rounds
  • Added =bench / =unbench command
  • Added doc folder
  • Accounts are now added to player objects before validation
  • Bases can now be picked with pick command
  • Config can now be reloaded with reload command

POG bot v3.2

15 Apr 09:44
Compare
Choose a tag to compare

v3.2:

  • Added locking mechanic on reaction handler to avoid errors due to players spamming the reactions
  • Overhauled the use of async functions for critical events
  • Changed "Last played" to "Previously played"
  • Players are now freed as soon as the match round ends
  • =squittal can now be used when the match is starting
  • =base can now be used when the match is starting
  • Now displaying players in-game names in the match info embed
  • Removed the base navigator as it was rarely used
  • Players can now reset their lobby timeout with a reaction
  • Bot now use only necessary gateway intents (discord API)
  • Added proper logger Plugin
  • Added embed showing player status when using =r command
  • Added basic stats display

POG bot v3.1

12 Apr 19:26
Compare
Choose a tag to compare

v3.1:

  • Fixed some issues with sub command
  • Added base image as thumbnail in the match info embed
  • Notify players will no longer be pinged if they are already in a match
  • Overhauled team ready section:
    • Added reactions for the =ready command
    • =sub can no longer be used on a player whose team is ready
    • =swap can no longer be used it a team is ready
    • It's no longer possible to change the base if a team is ready
  • Overhauled scoring system:
    • Classes will now be properly reported on the score sheet
    • Now tracking per-class stats internally
  • Added match plugins
    • Added ts3 interaction as a plugin
    • Fixed some problems in the ts3 bot handling
    • TS3 channels ids are now in the config file
  • Separated =lobby get from =lobby save
  • Players name are now displayed in lobby lists

POG bot v3.0

06 Apr 13:08
Compare
Choose a tag to compare

v3.0:

  • Code revamp:
    • Added a process system to handle the different match events
    • Added a command system to handle the match commands
    • Database changes
    • Reworked the architecture/location of python packages within the project
    • Improved display classes
    • Bugfixes
  • Accounts:
    • Jaeger accounts can now be handed dynamically one by one
    • Account usage is no longer reported to the account sheet, but logged inside the mongo database
    • Account logging details are pulled from a google sheet. They can be updated dynamically with =reload command
    • Players can receive accounts even when they are in hte "getting ready" phase.
  • TS3 bot:
    • Because PSB teamspeak server was down, removed the TS3 interaction (could not test)
    • Will be added back in a coming patch
  • Players:
    • Added handling of player stats (nb of matches, nb of kills, deaths, net, score)
    • Nb of matches is used to find potential Team captains
    • Players can now be renamed with =rename command
  • Lobby:
    • The command =lobby get now saves the lobby state in the db.
    • The last lobby state is automatically used to fill the lobby on restart
    • There is now a timeout for lobby joins: players will be warned after 2 hours and kicked after 2h10m
    • Added =reset command to reset lobby timeout
    • Players can now join the lobby even if their discord status is offline
    • Players are no longer kicked of the lobby after they go offline in discord
  • Match result:
    • The two most used classes of each player within the match are now displayed in the scoreboard
    • The bot will no longer print the banned weapon message twice (was happening when the weapon was used in the first round)
  • General:
    • It is now possible to use command directly with discord ID instead of mention. For example =p 75451215457875 instead of =p @pog will work
    • Match channels are now closed (not visible any more) when no match is active, to reduce channel clutter
  • Match:
    • match command (=m) has been replaced by info command (=i)
    • The bot will send a DM to players when the lobby is filled and a match start
    • Captains are no longer automatically selected. Rather, a step was added in which players can volunteer to be captains.
      • Each minute, the bot will suggest new captains until some players accept the role
    • Removed =resign =demote commands
    • Sub command:
      • =sub should now work in all situations, until a round actually start: It is now possible to sub players in the getting ready phase
      • Captains can now use the sub command. A successful sub will require both captains to confirm the action
      • Admins can directly sub players in. (Whereas when captains use sub, a player is automatically picked form the lobby)
    • Added =swap command
      • It requires both captain confirmation
      • Swap players form one team to the other
    • Added =base command
      • Captains can now select a base whenever they want, and change the base several times until the round actually start
      • The bot will show if a base is currently used in another pog match
    • =p command (with no argument) will now display the picking status
    • Added reaction systems:
      • Confirmation of action between captains
      • Faction selection
      • Captain selection
      • Overhauled base selection system with reactions
    • Match status is now displayed automatically and refreshed regularly to show the time remaining
    • Added =check command for admins to disable account validation check or online check
  • Account usage: Changed the way admins can check for POG account usage (command instead of google sheet)
  • Register: players can now remove their account while in a match in the Getting ready phase. They will be given an account by the bot

POG bot v1.15

25 Sep 15:26
Compare
Choose a tag to compare

Last release version before 2.0 major update.

v1.15:

  • Cap points are no longer counted in team netscore
  • Updated score sheet visual
  • Added author in all embeds as workaround for discord android app bug T900 (long enbeds on mobile)

POG bot v1.14

25 Sep 11:47
Compare
Choose a tag to compare

v1.14:

  • Added sub command for staff
  • Updated help embeds for all channels
  • Banned weapon usage is now reported in both match and staff channels
  • Match info now shows the remaining time for current round
  • Added rdy as alias for the ready command
  • Added global information prompt accessible with command info
  • All scores are now posted in the result channel
  • Matches are now stored in database
  • Added squittal command

POG bot v1.13

25 Sep 11:49
Compare
Choose a tag to compare

v1.13:

  • Added match score tracking (BETA)
  • Fixed bug with display of scores
  • Fixed bugs with calculation of score
  • Match should not hang anymore in case of an error in score calculation
  • Added a lobby restore command
  • Api calls are now retried if they fail
  • Factions can now be modified again before the match start
  • Fixed account sending infinite loop by handling error if a player has its DMs closed
  • Now checking if players are online in game before allowing match to start

POG bot v1.12

25 Sep 11:50
Compare
Choose a tag to compare

v1.12:

  • Added timeout functionality for admins
  • Modifications in how players are stored in database
  • Bot is now active in all channels listed in the config file
  • Fixed a bug with muted permissions
  • Fixed a bug with some staff commands being usable in wrong channels
  • Fixed a bug when removing players from lobby
  • Bot no longer ignore commands sent from match channels
  • Added command for team captains to resign
  • Staff can now demote team captains