![]() |
|
[Python] Get your own telegram bot to fill google form for you - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Get your own telegram bot to fill google form for you (/showthread.php?tid=6107151) |
Get your own telegram bot to fill google form for you - uzol - Sep 3, 2020 Hello guys sup!!!!! I have made a simple telegram bot which can fill google forms for me. I am using it to fill google form for attendance of my online classes 😁. You can make your own telegram Bot to fill google forms for you. Just follow the description properly in github page. source code => github.com/Ujjal-Baniya/TelegramBot-myHomie [note : I couldn`t post link properly because I am new to this forum and I haven`t done 50 posts yet] Feedback will be appreciated. [ Hope to get good programming mates ] RE: Get your own telegram bot to fill google form for you - 4Txe4y33C9zvNhMj - Sep 4, 2020 Looks cool. Might want to rename the license file to LICENSE instead of LICIENCE (or update the link in the readme) The code looks fine, you could probably improve the elif in the get_details function by making a dict that uses the field name x as a key and the response as a value (something like this): Code fields = {Also error handling or proper message formatting (so like sending errors back via Telegram etc.) Another small code style thing I noticed in the get_details function: You continue the for-loop if y equals None so you don't need the else, you can just leave that out For the make_reply function: I'd suggest to move the variable for the Telegram user-ID to the top of the file so you can make all changes in one place. Also you might want to compare and return if it doesn't match so you don't have to have the rest of your code in an else block. Good job! RE: Get your own telegram bot to fill google form for you - tux1 - Sep 4, 2020 Interesting tool, thanks for sharing! RE: Get your own telegram bot to fill google form for you - Wayne - Sep 4, 2020 Nice share, will use this in future for sure RE: Get your own telegram bot to fill google form for you - uzol - Sep 4, 2020 (Sep 4, 2020 03:03 AM)4Txe4y33C9zvNhMj Wrote: Looks cool. Might want to rename the license file to LICENSE instead of LICIENCE (or update the link in the readme) Thanks mate Hope to get connected ✌✌✌ (Sep 4, 2020 02:33 PM)tux1 Wrote: Interesting tool, thanks for sharing! Thanks✌ (Sep 4, 2020 02:37 PM)Wayne Wrote: Nice share, will use this in future for sure Thank you bro ✌ |