ESN-Trondheim / ESNbot

A Slack bot for ESN Trondheim
MIT License
3 stars 2 forks source link

Automate creation of ESN awards #83

Open LaiAlexander opened 11 months ago

LaiAlexander commented 11 months ago

Diplomas are handed out for different awards like "Årets kakebaker", "Årets nykommer" etc. The templates are a hassle to edit with the new names (and new awards). The templates generates a pdf that is printed out, signed and laminated. The creation of the pdf should be automated.

The command could look something like this: @Otto esnaward "Årets kakebaker" "John Doe" ("name of signee/president")

This should produce a pdf of the award in proper resolution. The specific award is "Årets kakebaker", the awardee is "John Doe". Should also automatically fetch the name of the president (which probably is the one signing the diploma/award). If not, the name should be an argument to the command. Maybe the best solution is to have the signee's name optional, if no name is entered for the signee, the president's name is fetched. If a name is entered, that name is used instead. Then the template may be used for whatever award, and you are not required to have the president to sign the diploma.

Parts of the code will probably be shared with #74.