Hacking RELEASE StoreBot

carizard

Well-Known Member
OP
Member
Joined
Dec 4, 2018
Messages
127
Trophies
0
Age
34
XP
1,193
Country
Antarctica
StoreBot

StoreBot is a Discord bot that makes use of StoreLib. Current features include generation of package urls from a given product listing, conversation of the various Store IDs, and querying details about a listing.



Usage:
Clone the repo and build StoreBot using Visual Studio 2019 Preview. StoreBot makes use of .NET 5, install the latest (at the time preview) SDK. Define your Discord Bot Token in your environment variables, named "STOREBOTTOKEN" or edit the discordtoken line in config.json. Run StoreBot.dll using the .NET 5 runtime or build to a exe directly:

dotnet StoreBot.dll or StoreBot.exe

Once StoreBot logs into Discord, invite the bot to the server of your choice, then refer to the "Commands" section below.

Commands:
Code:
@StoreBot help
- Lists all commands. Specify a command (Example: `@StoreBot help packages`) to see more information about that command.

Code:
@StoreBot advancedquery ProductIDOrStoreLink environment MARKET-LANG
- Returns details about the product from DisplayCatalog (Example: `@StoreBot advancedquery 9wzdncrfj3tj Int US-EN`)

Code:
@StoreBot packages ProductIDOrTitleIDOrStoreLink
- Generates and returns FE3 links for app and Xbox Live packages.

Code:
@StoreBot convert ID IDFormat - Returns alternative store IDs for the given listing (Example: `@StoreBot convert eaac6c6b-10a4-4659-815b-44f151eca61a LegacyWindowsStoreProductID`)

Code:
@StoreBot submittoken MSAOrXBLToken
- See [StoreToken](https://github.com/StoreDev/StoreToken) on how to obtain your token. This command can only be used via Direct Message to the bot. Once your token has been submitted, it will be used for future queries (that originate from your user).

Docker instructions:
Building the Docker image:
Code:
docker build -t storebot_docker .

Running the Docker image:
Code:
docker run -e storebottoken -it --rm --name storebot storebot_docker

Download a pre exisiting Docker image:

[/CODE]docker pull storedev/store-bot:Latest
docker run -e storebottoken storebot[/CODE]

https://hub.docker.com/r/storedev/store-bot

Dependencies
StoreLib DSharpPlus

License
Mozilla Public License

Download

At this time you must host the bot yourself on windows
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    The Real Jdbye @ The Real Jdbye: you can fap to your favorite character without it being gay