Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duolingo Domination Discord bot

Table of contents

Architecture

The bot is written in Go. It uses mostly standard libraries but also the Canvas library from Taco de Wolff.

The discord package contains the logic to interact with the Discord API. discord/security.go is here to make request's signature verification easier.

The canvas package is used to draw the leaderboard once the data have been fetched from the Duolingo API. After finishing the drawing, the image is saved to a file named "leaderboard.png".

Development

Check out the development framework documentation here.

Build and deploy the app

Deploy to Scaleway cloud functions

Create a zip file using zip -r function.zip . and upload it to the Scaleway console.

In the "handler" field, put Handle.

About

Discord bot to get the leaderboard of the Duolingo Dominator challenge

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages