Skip to content

Releases: tr4cks/power

v1.5.0

10 Oct 14:59

Choose a tag to compare

What's Changed (Discord Bot)

  • Minor refactoring of the Discord bot
  • Fix an issue with Ping (ICMP) when the executable is not run as root or cannot send a ping as a normal user
  • Updating messages sent to the user on Discord
  • Messages are no longer automatically deleted since they are ephemeral messages; it was pointless, really
  • To shut down the server from a Discord command, the user must now be the administrator of the Discord server
  • A message is now sent via DM once the server has started to the user who attempted to start the server via a Discord command. This monitoring is performed for 3 minutes, after which a timeout message is sent to the user in their DMs. Messages sent by the bot in its DMs are deleted after 10 minutes.
  • Hidden option for the bot to send various cute messages when the server has finished starting up (clue: discord.cute-dms: true)

Full Changelog: v1.4.1...v1.5.0

v1.4.1

03 Oct 23:10

Choose a tag to compare

What's Changed

  • Upgrade dependencies and go version

Full Changelog: v1.4.0...v1.4.1

v1.4.0

10 Jan 23:38
68eeca2

Choose a tag to compare

What's Changed

  • Adding all commands for the discord bot (server_status, power_on, power_off) in #1

Full Changelog: v1.3.1...v1.4.0

v1.3.1

10 Jan 22:22

Choose a tag to compare

What's changed

  • Fix: Discord imposes a timeout for sending the first message, which could lead to an error being displayed in the discord chat. As a result, a first message is sent directly after the command, followed by a second once the server startup has been initiated. In this way, there are no more error messages.

Full Changelog: v1.3.0...v1.3.1

v1.3.0

18 May 14:46

Choose a tag to compare

What's changed

  • Change: Log format modified to support multiple services within the same executable. ⚠️ Could have an impact if you used logs to do something with them. If you had only followed the previous documentation, no problem.
  • Feature: Add a discord bot to start the server with a command.

Full Changelog: v1.2.0...v1.3.0

1.2.0

26 Dec 16:03

Choose a tag to compare

What's changed

  • Feature: add new API
  • Change: error display when you want to switch the server on or off using the command line
  • Change: don't stop the binary when there's an error when you want to know the state of the server with the command line. Just print the errors on the error output and the result on the standard output at the same time

Full Changelog: v1.1.0...v1.2.0

1.1.0

02 Dec 20:00

Choose a tag to compare

What's changed

  • Feature: possibility to use power from command line
  • Fix: wrong default path to the configuration file

Full Changelog: v1.0.0...v1.1.0

1.0.0

07 Aug 15:28

Choose a tag to compare