asetalias / amibot-tg Goto Github PK
View Code? Open in Web Editor NEWAmibot on steroids: A Telegram bot for Amizone, powered by the go-amizone API!
License: MIT License
Amibot on steroids: A Telegram bot for Amizone, powered by the go-amizone API!
License: MIT License
We have to migrate the ligma engine to rust cargo.
Deprecate the sigma handlers
We need to implement a better logging technique
A button which will generate a token that can be used to use the amibot-tg server to fetch data from it in HTTP. The user can leverage that token and easily login to any other client app talking to the amibot-tg server.
Automation is life of easy mode. Currently, AmiBot telegram is hosted on fly.io. It would be great to have a way to automatically update the build on fly when the main branch gets updated.
Level: intermediate
We can use the default python logging package here.
Coz why not.
The README should acknowledge the original Amibot and potentially describe how this version is superior (features, UX, availability..)
Filling faculty feedback may take a while, its best if we send an intermediary message notifying the user that the bot is currently filling feedback.
There have been cases of users spamming the bot or being generally confused while waiting for the bot to fill feedback
Currently we only encrypt passwords
Currently Exam Schedule command dont show the exam room no. when requested.
As the go-amizone has been updated with this feature, we can now update the protobuff files and implement it for amibot-tg as well.
If there is no exam scheduled we get the following error:
Currently, since the user is most likely logged in, it seems misleading or redundant to ask them to log in again. We need a better way to communicate this as go-amizone returns an error.
This behavior also happens when clicking the Attendance
button when a user is not registered yet for the semester.
Level: easy
The current response of about seems half baked. We should add a better response with maybe some emojis and related links.
Users should have an option to click a button to add their schedule to Google Calendar.
Level: hard (but most rewarding)
This is basic stuff
Login is not validated with the /login
command
The class_schedule route in the go server should also return room
in the response.
Use flake8 or ruff
Any documentation from dev branch should be merged into master.
Make sure we explain in CONTRIBUTING.md what we have to work in dev branch
We should add a link to the amibot-tg issues page for an unexpected error message.
This is a straightforward call of the Class Schedule
button scheduled at 6pm
This is something we may overlook when implementing a feature, best to automate it.
Considerations:
/proto/amizone.proto
make gen
commands/gen/amizone_pb2_grpc.py
, it should change line 5 from import amizone_pb2 as amizone__pb2
to import gen.amizone_pb2 as amizone__pb2
We need some tests to make sure everything is working as intended that run on commit.
it returns a invalid format, but that error response is for faculty feedback and not for mac address as pointed out by @achintya-7.
The code also seems to be faulty in a way that mac address is not being registered.
Just adding a simple button to:
It is critical for us to be able to see how our bot is being used. We should be able to track the following:
Level: Hard, lots to consider here like where to store the logs, how to access them, do we need a separate API or external service?
We are now using an app.env
file to store enviornment variables. We should update how to setup AmiBot-tg accordingly
Proposal to rename the project from py-ami-bot to py-amibot
Use flake8 or ruff for linting instead of relying on black.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.