fix: update message formatting in Humble Bundle notification
- Removed the mention of "@here" from the notification message to streamline the announcement format. - Ensured the message remains clear and informative for users regarding the available game bundle.
This commit is contained in:
@@ -35,7 +35,7 @@ def _findFirstNotNotified(bundles) :
|
||||
def _formatMessage(bundle):
|
||||
choice = bundle['choices'][0]
|
||||
date = datetime.datetime.fromtimestamp(bundle['endDate']/1000,datetime.UTC).strftime("%d %B %Y")
|
||||
message = f"@here **Humble Bundle** propose un pack de jeu [{bundle['name']}]({bundle['url']}) contenant :\n"
|
||||
message = f"**Humble Bundle** propose un pack de jeu [{bundle['name']}]({bundle['url']}) contenant :\n"
|
||||
for game in choice["games"]:
|
||||
message += f"- {game}\n"
|
||||
message += f"Pour {choice['price']}€, disponible jusqu'au {date}."
|
||||
|
||||
Reference in New Issue
Block a user