Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 2.16 KB

README.md

File metadata and controls

40 lines (29 loc) · 2.16 KB

C# Discord Bot with MySQL DB on DSharpPlus [.NET 7]

.NET 7+ is required. Pull requests are welcomed.


Documentation

Invite Bot or mess with the bot in our server #bot-commands


This bot is in WIP state

Bot functions:

  • Gift Welkin Moon by UID in Genshin Impact automatically from MooGold
  • Pull characters
  • Sacrifice characters
  • Earn pills/primogems/mora
  • Set main character/receive buffs
  • Go on an Adventures
  • Do dailies
  • Buy/Sell fish/fishing rods in Liyue Harbor
  • Fishing mechanic with perks

How to setup

  • Open startup_config.json and edit token from your applications developer portal
  • Open dbconfig.json and edit with your mysql database credentials (you can use MAMP if you just want to test it locally or phpmyadmin)

CONFIGS NOTE: If you want to test server build navigate to releases since build already has all the configs in json, but if u want to start it as a project (in debug mode for example), you gotta move this juicy config folder into /bin/debug(or release)/net8.0/

Want a custom DB?

CUSTOM DB NOTE: If you want to use something other beside MySQL (MSSQL/PostgreSQL/REST/etc.) feel free to modify DbConnector.cs, QueryHandler.cs and DatabaseConfig.cs since those are the connector and the db credentials model


Credits

Thanks to @Escartem for French localization. No more using it but still: Thanks to Enka.Network for API provided, and DevilTakoyaki for materials provided.