Skip to content

Commit

Permalink
move changelog to own file
Browse files Browse the repository at this point in the history
  • Loading branch information
okkdev committed Jun 20, 2024
1 parent 4712bb9 commit 61a655c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 27 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## Changelog

### 7.3
Make commands work on user installs.

### 7.0
Added paper as the new default and changed the bot into a general purpose YuGiOh bot instead of just Masterduel.

### 6.0
Added the ability to parse `<card name>` from messages with a right click menu option.

### 5.0

Added OCG art option to the art command with `ocg:true`, which requires a donation over on [Ko-Fi](https://ko-fi.com/okkkk).\
Ko-Fi triggers a webhook and sends the donation info to [Bonk](https://github.com/okkdev/bonk) which is a microservice that parses the user id included in the donation message and saves it in a database.

### 4.0

Added `/art` command. This command embeds card artwork. The art is dumped directly from Master Duel then upscaled using Waifu2x and uploaded to an s3 bucket.

### 3.0

Implemented a fuzzy searching algorithm.\
Cardian now generates an index ETS table of shared trigrams in all card names. The search querie trigrams are pulled from the index and the matching cards are sorted by occurence of trigrams.

### 2.0

Refactored how cards are fetched. In v1.0 every autocomplete query and card request were sent to the Master Duel Meta API. This was slow and, especially the autocomplete requests, very wasteful.\
With v2.0 the bot fetches all cards every 2 hours (by default, can be set via env var) and caches them in an ETS. Now all data is fetched from the cache. This is way faster, fixing the time-out of autocompletion responses.

27 changes: 0 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,33 +49,6 @@ docker exec cardian /app/bin/cardian rpc "Cardian.Interactions.deploy_commands()
- `CARDIAN_TOKEN`: Discord bot token
- `CARDIAN_UPDATE_INTERVAL`: Card cache update interval in minutes. Default: 120

## Changelog

### 7.0
Added paper as the new default and changed the bot into a general purpose YuGiOh bot instead of just Masterduel.

### 6.0
Added the ability to parse `<card name>` from messages with a right click menu option.

### 5.0

Added OCG art option to the art command with `ocg:true`, which requires a donation over on [Ko-Fi](https://ko-fi.com/okkkk).\
Ko-Fi triggers a webhook and sends the donation info to [Bonk](https://github.com/okkdev/bonk) which is a microservice that parses the user id included in the donation message and saves it in a database.

### 4.0

Added `/art` command. This command embeds card artwork. The art is dumped directly from Master Duel then upscaled using Waifu2x and uploaded to an s3 bucket.

### 3.0

Implemented a fuzzy searching algorithm.\
Cardian now generates an index ETS table of shared trigrams in all card names. The search querie trigrams are pulled from the index and the matching cards are sorted by occurence of trigrams.

### 2.0

Refactored how cards are fetched. In v1.0 every autocomplete query and card request were sent to the Master Duel Meta API. This was slow and, especially the autocomplete requests, very wasteful.\
With v2.0 the bot fetches all cards every 2 hours (by default, can be set via env var) and caches them in an ETS. Now all data is fetched from the cache. This is way faster, fixing the time-out of autocompletion responses.

## Development

1. Install dependencies:
Expand Down

0 comments on commit 61a655c

Please sign in to comment.