https://github.com/irevenko/cdnjs2discord
🤖🚀📦 A Discord Bot for accessing the cdnjs platform
https://github.com/irevenko/cdnjs2discord
bot bots cdn cdn-search cdnjs cdnjs-api cdnjs-bot discord discord-bot discordgo go go-bot gobot golang
Last synced: 11 months ago
JSON representation
🤖🚀📦 A Discord Bot for accessing the cdnjs platform
- Host: GitHub
- URL: https://github.com/irevenko/cdnjs2discord
- Owner: irevenko
- License: mit
- Created: 2021-02-01T07:01:43.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-13T17:12:28.000Z (about 5 years ago)
- Last Synced: 2025-03-30T21:03:23.891Z (12 months ago)
- Topics: bot, bots, cdn, cdn-search, cdnjs, cdnjs-api, cdnjs-bot, discord, discord-bot, discordgo, go, go-bot, gobot, golang
- Language: Go
- Homepage:
- Size: 29.3 KB
- Stars: 18
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CDNJS Discord Bot 🤖🚀📦
> 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)
#### BOT INVITE LINK
#### OR NAME: CDNJS Bot #5261
## Commands 📃
!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
# Preview 🔎

# Contributing 🤝
Contributions, issues and feature requests are welcome! 👍
Feel free to check [open issues](https://github.com/irevenko/cdnjs2discord/issues).
# Quick Start 🚀
```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```
# What I Learned 🧠
- Building DS bots
- Using 3rd party client libs (discordgo)
# License 📑
(c) 2021 Ilya Revenko. MIT License