ThibautPlg/Discord-LEGO-Bot

Unable to search Bricklink for parts

wrtyler opened this issue · 2 comments

If you do a search !bl (part #) what your code does is execute this command: https://www.bricklink.com/v2/catalog/catalogitem.page?S= which is the command to search for a set you need https://www.bricklink.com/v2/catalog/catalogitem.page?P= for parts searching on Bricklink.

Hello,
Indeed, the command !bl aims to return the direct Bricklink URL regarding a set, not a part. If you want a Bricklink link concerning a part, you should use the !part command and click the link in the "Shop" section.