NAME

App::SpreadRevolutionaryDate::MsgMaker::Telechat - MsgMaker class for App::SpreadRevolutionaryDate to build message with Téléchat date

VERSION

version 0.44

METHODS

compute

Computes date of the day similar to the Belgian-French TV show 'Téléchat" on the 1980's. Takes no argument. Returns message as string and hash with the path to an image file of Groucha, the presenter of Téléchat, and its alt text, with 'path' and 'alt' keys respectively.

This message maker is greatly based on SaintObjetBot a bot spreading, in "Téléchat style", the date and the feast of the day, see https://github.com/tobozo/SaintObjetBot.

There is no really offical Téléchat calendar (named calendar of hlly objetcs, calendrier des objet sains in French), the principle is use new inventions of objects instead of outdated objects.

We have found three sources for calendar names: what has actually been broadcasted on tv show, see https://www.tvtime.com/fr/show/257185, and two versions computed by SaintObjetBot, see https://github.com/tobozo/SaintObjetBot/blob/main/data/saint-objet-bot-2023-11-09.csv. We pickup randomly among theses three calendars, and when there is nothing for the current day in the first calendar (because, nothing was broadcasted this day), only amon the two last ones.

SEE ALSO

spread-revolutionary-date
App::SpreadRevolutionaryDate
App::SpreadRevolutionaryDate::Config
App::SpreadRevolutionaryDate::BlueskyLite
App::SpreadRevolutionaryDate::Target
App::SpreadRevolutionaryDate::Target::Bluesky
App::SpreadRevolutionaryDate::Target::Twitter
App::SpreadRevolutionaryDate::Target::Mastodon
App::SpreadRevolutionaryDate::Target::Freenode
App::SpreadRevolutionaryDate::Target::Freenode::Bot
App::SpreadRevolutionaryDate::Target::Liberachat
App::SpreadRevolutionaryDate::Target::Liberachat::Bot
App::SpreadRevolutionaryDate::MsgMaker
App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate
App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Calendar
App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Locale
App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Locale::fr
App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Locale::en
App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Locale::it
App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Locale::es
App::SpreadRevolutionaryDate::MsgMaker::PromptUser

AUTHOR

Gérald Sédrati <gibus@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2019-2025 by Gérald Sédrati.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007