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

Convert Discord bot to aws lambda #5

Merged
merged 3 commits into from
Sep 25, 2023
Merged

Conversation

marc-aurele-besner
Copy link
Collaborator

Convert Discord bot to aws lambda

  • Implement aws-lambda handler
  • Use discord rest instead of a client listening to the server interaction
  • Implement faunadb for a minimal db to persist user's requests and stats
  • Add more rigid spam protection, to make sure the same user does not request tokens over and over to different addresses

Copy link
Collaborator

@EmilFattakhov EmilFattakhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great at a glance, thanks @marc-aurele-besner! Let me try running a quick deployment and get back to you!

@jfrank-summit
Copy link
Member

@EmilFattakhov Were you able to run a deployment?

@EmilFattakhov
Copy link
Collaborator

Hey @marc-aurele-besner, @jfrank-summit, I gave it a try on Tuesday and wasn't able to complete the deployment, will give it another try tomorrow morning. Been busy the last couple of days, sorry about the delay!
@marc-aurele-besner I will slack you tomorrow, we might need to have a look together.

EmilFattakhov
EmilFattakhov previously approved these changes Sep 22, 2023
Copy link
Collaborator

@EmilFattakhov EmilFattakhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @marc-aurele-besner for all your help with deployment, everything works as expected!

Copy link
Collaborator

@EmilFattakhov EmilFattakhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @marc-aurele-besner!

@marc-aurele-besner marc-aurele-besner merged commit 0113e93 into main Sep 25, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants