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
  • BigOnYa @ BigOnYa:
    Damn that's cheap.
  • K3Nv2 @ K3Nv2:
    Slower speeds for gen4
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
    Veho @ Veho: Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages...