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:
- Lists all commands. Specify a command (Example: `@StoreBot help packages`) to see more information about that command.
- Returns details about the product from DisplayCatalog (Example: `@StoreBot advancedquery 9wzdncrfj3tj Int US-EN`)
- Generates and returns FE3 links for app and Xbox Live packages.
- 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:
Running the Docker image:
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
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
Code:
@StoreBot advancedquery ProductIDOrStoreLink environment MARKET-LANG
Code:
@StoreBot packages ProductIDOrTitleIDOrStoreLink
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
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