Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mohitkyadav/coolme

A πŸŒœβš½βš½πŸ‘’ Discord bot, invite ➑
https://github.com/mohitkyadav/coolme

cool-name-api discord discord-bot discord-js github-discord-bot weather

Last synced: 4 months ago
JSON representation

A πŸŒœβš½βš½πŸ‘’ Discord bot, invite ➑

Awesome Lists containing this project

README

        

# πŸŒœβš½βš½πŸ‘’ME bot

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/mohitkyadav/coolme/master/LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/mohitkyadav/coolme)
[![Support](https://discordapp.com/api/guilds/522610943037931551/embed.png)](https://discord.gg/bJGQRJx)

## Deployable on

```
glitch / zeit / heroku.
```

## List of supported commands

| Command | Response | Status |
| -------------------------- | ----------------------------------- | ------ |
| _!hello_ | **world!** | βœ” |
| _!yo_ | **lo!😜** | βœ” |
| _!status_ | **server status(200/404)** | βœ” |
| _!cool ``_ | \***\*All cool strings\*\*** | βœ” |
| _!uncool ``_ | \***\*original string\*\*** | βœ” |
| _!weather ``_ | \***\*weather information\*\*** | βœ” |
| _!ytt_ | \***\*Top trending on YouTube\*\*** | βœ” |
| _!twt_ | \***\*Top trending on Twitter\*\*** | βœ” |
| _!toss_ | \***\*Toss a coin\*\*** | βœ” |
| _!random_ | \***\*Get a random number\*\*** | βœ” |
| _!ip ``_ | \***\*ip address of the url\*\*** | βœ” |
| _!gcard `github_username`_ | \***\*Embeded GitHub Card\*\*** | βœ” |
| _!encrypt `text` `key`_ | \***\*Encrypted text\*\*** | ⏰ |
| _!decrypt `text` `key`_ | \***\*Decrypted text\*\*** | ⏰ |

# Examples

> !gcard mohitkyadav

mky

> !gcard google

g

## Environment variables

You need to set these variables in your deployment environment. A `sample.env` file has been provided for reference. You can set the values there and rename it to .env for local development.
| env variable | value |
|--|--|
|`TOKEN`|Discord client token|
|`OWKEY`|Open weather map API key|
|`YTKEY`|Youtube API key|
|`PORT`|Set automatically by your deployment platform|
|`TWAPIKEY`|Twitter consumer key|
|`TWAPISECRET`|Twitter consumer secret|
|`TWACCESS`|Twitter access token|
|`TWACCESSSECRET`|Twitter access token secret|