A bridge between https://cdnjs.com/api and Discord
Big shoutout to Br1ght0ne for helping me with writing helpers.go/SplitIntoPages
function on stream (https://twitch.tv/irevenko)
!cdn help or !cdn - displays help info
!cdn stats - returns cdnjs libraries number
!cdn whitelist - returns cdnjs extension whitelist
!cdn lib - returns specific lib
!cdn search name - returns name search results
!cdn search keywords - returns keywords search results
!cdn search github - returns github search results
!cdn assets - returns assets for the specific lib version
Contributions, issues and feature requests are welcome! 👍
Feel free to check open issues.
git clone https://github.com/irevenko/cdnjs2discord.git
cd cdnjs2discord
go get github.com/bwmarrin/discordgo
go get github.com/joho/godotenv
go run main.go
- Building DS bots
- Using 3rd party client libs (discordgo)
(c) 2021 Ilya Revenko. MIT License