/azureDuoAlert

duoAlert as an Azure function

Primary LanguagePythonMIT LicenseMIT

duoAlert

duoAlert

Uses discord webhooks to send a message when a followed user extends or starts a streak based on their daily goal.

config

DuoAlert reads a basic JSON configuration file to determine which users to follow and what the webhook URL is. If use_giphy is true then the phrases pulled from phrases will be used to search giphy and pull the top gif. If false your predetermined gif's will be used.

{
  "username":"<username_of_duolingo>",
  "password":"<password_of_duolingo>",
  "webhook_url": "<webhook_url>",
  "users": ["exampleUser"],
  "use_giphy": true,
      "giphy_apikey": "YOUR_API_KEY_HERE",
      "giphy_rating": "G"
}

Notice of Non-Affiliation and Disclaimer

We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Duolingo, or any of its subsidiaries or its affiliates. The official Duolingo website can be found at http://duolingo.com. The name “Duolingo” as well as related names, marks, emblems and images are registered trademarks of Duolingo.