thibautplg / discord-lego-bot Goto Github PK
View Code? Open in Web Editor NEWSimple Discord bot to have infos about LEGO sets and pieces
Home Page: https://thibautplg.github.io/legbot/
License: GNU Affero General Public License v3.0
Simple Discord bot to have infos about LEGO sets and pieces
Home Page: https://thibautplg.github.io/legbot/
License: GNU Affero General Public License v3.0
I'm a server owner with admittedly little experience with coding myself, so I might be missing something obvious, but the ! prefix is shared with several other bots including MEE6. Is it possible to add in a command to reconfigure LegBot's prefix?
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.
For heavy users, it's sometimes nice to be able to call for multiple sets/parts in a single message. We could use matchAll
to loop through all regular expression matches in a single message.
Hello,
While you can use /part BLID
to look up minifig components, the minifigs themselves don't return anything using either /part
or /set
. I believe all of the APIs you're using have specific minifigs endpoints.
Suggested behavior would be /minifig BLID
to return the same type of information as /part
and /set
.
Thanks in advance for your consideration!
First of all, awesome bot!
Our LUG is moving to Discord and this bot is a great addition to our server.
I've invited the bot and we're able to interact with the different ! commands.
However, reacting with the different emojis doesn't do bring up the large image or delete the message.
I'm sure it's a permissions issue, just not sure which one.
e.g. I typed both "!set 10259-1" and "!set 102591" and neither worked, for this set:
https://brickset.com/sets/10259-1
EDIT: also, awesome job on this bot, it's very handy!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.