CascadeBot / CascadeBot-Old

A fully Customizable discord bot
MIT License
39 stars 7 forks source link

[Feature Request] Add npm and mdn search functionallity #222

Open eddie-englund opened 4 years ago

eddie-englund commented 4 years ago

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Other bots like Yukikaze has search functionality on both npm and mdn. I believe it also has more search functionalities although, these are the main ones I'd like implemented. It would make programming/code related servers that has lots of js (like DesignCourse) a lot easier. If someone asks a question that can be answered with a lib you can simply just do prefix+npm this would make the whole experience on the server more seamless and you can avoid having to alt tab a lot.

Another one you could add is jda and java docs (although this doesn't matter for me personally but it could be a nice function)

binaryoverload commented 4 years ago

I like the idea of programming oriented features. There's so many that would be cool and it'd probably just end up being its own module.

That being said, this won't be for beta most likely but it's certainly something I'd like to do.

binaryoverload commented 4 years ago

MDN: https://developer.mozilla.org/en-US/docs/MDN/Contribute/Tools/Search#Search_query_format NPM: https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md Microsoft: https://docs.microsoft.com/en-gb/search/?search=fdf&category=All

weeryan17 commented 4 years ago

I feel like this is a lot better suited to custom commands as this is a thing only very specific guilds will want. It's a good suggestion for a script we could make and put on the script sharing site (whatever we call it).