Skip to content

Commit 051f089

Browse files
authored
Merge pull request #4 from exec-astraea/docs/rename-to-gacha-codes-notifier
docs: rename project to gacha-codes-notifier, link @exec-astraea
2 parents 3ba9adc + a5de38c commit 051f089

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# hoyo-codes
1+
# gacha-codes-notifier
22

33
Watches for new **gacha redemption codes** (Genshin Impact, Honkai: Star Rail,
44
Zenless Zone Zero, Honkai Impact 3rd, Wuthering Waves, and Arknights: Endfield)
@@ -13,12 +13,12 @@ and Arknights: Endfield. See [Sources](#sources).
1313
```sh
1414
cp config.example.yaml config.yaml # then add your webhook(s) + messages
1515

16-
docker build -t hoyo-codes .
17-
docker run -d --name hoyo-codes \
16+
docker build -t gacha-codes-notifier .
17+
docker run -d --name gacha-codes-notifier \
1818
-e TZ=Europe/Amsterdam \
1919
-v "$PWD/config.yaml:/app/config.yaml:ro" \
2020
-v "$PWD/data:/app/data" \
21-
hoyo-codes
21+
gacha-codes-notifier
2222
```
2323

2424
Or without Docker: `CONFIG_FILE=config.yaml go run .`
@@ -55,4 +55,4 @@ belongs to others:
5555

5656
## License
5757

58-
[AGPL-3.0](LICENSE) © Alisa Frelia @exec-astraea.
58+
[AGPL-3.0](LICENSE) © Alisa Frelia [@exec-astraea](https://github.com/exec-astraea).

sources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Code struct {
1818

1919
var httpClient = &http.Client{Timeout: 20 * time.Second}
2020

21-
const userAgent = "hoyo-codes-notifier/1.0 (+https://github.com/exec-astraea/hoyo-codes)"
21+
const userAgent = "gacha-codes-notifier/1.0 (+https://github.com/exec-astraea/gacha-codes-notifier)"
2222

2323
func getJSON(url string, out any) error {
2424
req, err := http.NewRequest(http.MethodGet, url, nil)

0 commit comments

Comments
 (0)