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

Remove deta package from the Discord Bot #94

Merged
merged 6 commits into from
Sep 17, 2024
Merged

Remove deta package from the Discord Bot #94

merged 6 commits into from
Sep 17, 2024

Conversation

Awesome-E
Copy link
Member

  • Creates a drop-in wrapper object for all server-settings DB actions. This is different from the API's approach since the bot primarily relies only on one collection.
  • Updated tests to mock the MongoDB functions instead of Deta Base functions
  • You will need to add the MONGO_URL env variable (same as SDR)

PLEASE TEST THE DISCORD BOT LOCALLY AND TRY TO BREAK IT


I might rename mock-deta.js and delete link-scanner.js after review

Copy link

@Anonymouseyy Anonymouseyy left a comment

Choose a reason for hiding this comment

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

I wasn't able to break it 👍

Copy link
Member

@anthonyj33 anthonyj33 left a comment

Choose a reason for hiding this comment

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

LGTM

@Awesome-E Awesome-E merged commit 854717b into main Sep 17, 2024
1 check passed
@Awesome-E Awesome-E deleted the detaless branch September 17, 2024 18:03
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