Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a command to subscribe to landing notifications #44

Open
therottenshadow opened this issue Apr 13, 2024 · 0 comments
Open

Add a command to subscribe to landing notifications #44

therottenshadow opened this issue Apr 13, 2024 · 0 comments
Assignees
Milestone

Comments

@therottenshadow
Copy link
Owner

This has a problem, the way to do it would be to add a table in our database, each row containing discord user id, torn api key, time of arrival, destination and their wanted notification time, and have a while loop that goes through the table, if we are past the notification time, send a private message.

However, when the user is in Torn, unless we poll very frequently (10-15 minutes) there is no way to get notified that the user has left, so by polling frequently we are generating stress both on our server and on Torn's API servers.

@therottenshadow therottenshadow added this to the 0.2.0 milestone Apr 13, 2024
@therottenshadow therottenshadow self-assigned this Apr 13, 2024
@therottenshadow therottenshadow modified the milestones: 0.2.0, 0.4.0 Apr 13, 2024
@therottenshadow therottenshadow moved this from Todo to Future Releases in Project Roadmap Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Future Releases
Development

No branches or pull requests

1 participant