Page cover image

Tesco Query Command (/tesco)

This section describes the /tesco command

The Tesco query command provides stock information, regarding specific products in designated areas.

Usage

Finding a Tesco product number

Firstly, find the product you want to query on the Tesco website, below is an example.

Example Tesco product
Tesco product URL

Now, looking in the URL, you can find the Tesco Product Number (TPN). In this example, that is 308103753.

Running the /tesco command

Now in the Discord server running Mercury Dynamics bot, type the following command:

Example Tesco command

The parameters of this command are below:

  • storetype - This defines what kind of store you want to search in (autocompleted)

  • postcode - This is the postcode you want to base your search around

  • identifier - This is the TPN

  • public - This defines whether your command/results are seen by only yourself, or others

  • radius - This is how far from the defined postcode the bot should search (autocomplete)

If done correctly, you should receive a result like so:

Example Tesco results

Last updated