Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

🤖🚀📦 A Discord Bot for accessing the cdnjs platform

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