nano-shino / genshinhelper

A Discord bot to help with daily Genshin activities
MIT License
31 stars 10 forks source link
discord-bot genshin genshin-impact

GenshinHelper

Python 3.10+ GitHub Discord Support Server

A Discord bot to help with your daily Genshin tasks.

Feel free to join the Discord server if you would like more immediate assistance, but please file an issue first if it's a bug/feature request.

Deploy

Key Features

Bot usage

To register your Genshin account with the bot, go to hoyolab.com and log in your account. Then press F12 (Chrome Inspect Mode) and go to Application > Cookies > https://www.hoyolab.com.

Copy ltuid, ltoken and cookie_token and paste them in the /user register command.

Examples

/resin keeps you on top of the daily activities you need to do in game.

resin

Auto-checkin can be enabled in /user settings to get daily rewards from Hoyolab.

resin

Get reminder for when your parametric transformer is off cooldown.

resin

Check how fast your elite runs went.

resin

Look up a route for any resource, allowing you to sync up with your friends on Discord with a paginated route display.

resin

Installation

This bot is written with simplicity in mind so that it can be deployed to a tiny computer like the $15 Raspberry Pi Zero.

sudo vim /etc/systemd/system/genshinhelper.service

[Unit]
Description=genshinhelper
After=network.target

[Service]
EnvironmentFile=/home/pi/apps/genshinhelper/.env
ExecStart=/home/pi/.virtualenvs/genshinhelper/bin/python3 /home/pi/apps/genshinhelper/src/main.py
WorkingDirectory=/home/pi/apps/output
Restart=always
RestartSec=30
User=pi

[Install]
WantedBy=multi-user.target

Start: sudo systemctl start genshinhelper

Read logs: journalctl -u genshinhelper -f