UNICT-DMI / Telegram-DMI-Bot

A telegram bot for the DMI students 🎓 (@DMI_Bot)
https://t.me/DMI_Bot
GNU General Public License v3.0
41 stars 30 forks source link

feat: telegram mini-app #282

Closed TaToTanWeb closed 1 week ago

TaToTanWeb commented 2 weeks ago

Adds a simple Web App for users to access different UNICT Devs projects. A working example can be found here: https://t.me/DMIBotTestBot Steps for building:

cd webapp
npm install
npx parcel build index.html

Note: the parts of the code related to the Google Drive API in module/commands/gdrive.py have been separated from the ones related to the telegram API and moved to module/utils/drive_utils.py in order to make them accessible from the mini-app.

Helias commented 2 weeks ago

awesome 🚀

Showing the OPIS Manager there is not a bad idea, in this way someone will use it xD

About showing Ask DMI and Spotted DMI, thinking about it we should show them in the main buttons of the DMI Bot too

TaToTanWeb commented 1 week ago

Thank you very much for the review! I applied your suggestions and tried to fix pylint errors – some of these were not related to code I have changed, I tried to fix them but I didn't know the context, I hope I didn't break anything