Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/priyanshu360-cpu/cordy

A Npm Package that eases your Discord Bot Making
https://github.com/priyanshu360-cpu/cordy

cordy discord discord-bot discord-js npm npm-package

Last synced: about 1 month ago
JSON representation

A Npm Package that eases your Discord Bot Making

Awesome Lists containing this project

README

        

# Get-Started
Install Cordy
```
npm i cordy
```
Cordy Version - 1.0.5
# what is Cordy?
Cordy is an open soruce npm package which eases your discord bot making
# To Start your bot easily
```
const Cordy = require("cordy")
new Cordy().starter("token",{activity:[{
status:"Cordy Goes Broom",
statusType:"PLAYING",
statusVisibility:"DND"}
],timer:5000});

```
# Multiple Status
```
const Cordy = require("cordy")
new Cordy().starter("token",{activity:[{
status:"Cordy Goes Broom",
statusType:"PLAYING",
statusVisibility:"DND"},
{
status:"Multiple status Uwu",
statusType:"LISTENING",
statusVisibility:"IDLE"},
{
status:"I can create infinite status with this packages",
statusType:"LISTENING",
statusVisibility:"IDLE"}
],timer:5000});

```

# Lavalink Made Easy
```
const Cordy = require("cordy")
new Cordy().lavalink(client,{
host:"hosturl",
port:port_number,
password:"lavalinkpassword",
identifier:"identifier for ur host",
retryAmount:number,
retryDelay:delay_number,
secure:boolean,
spotifyid:"spotifyid",
spotifysecret:"spotifysecret",
})

```

# How to use Cordy in your Bot?
Read [Readme](https://github.com/Priyanshu360-cpu/cordy/tree/master/readme) folders to get detailed usage of each command
heres Some example:

**Chatbot**
```
const cordy = require('cordy')
new cordy().chatbot(message,args,client,{
color:"FFCBCB",
owner:"Priyanshu"
})
```

**Automeme**
```
const cordy = require('cordy')
new cordy().automeme(message,args,client,{
timer:args[0]})
```

**FindTheEmoji**
```
const cordy = require('cordy')
new cordy().emoji(message,args,client)
```

**Make sure these codes are in your message create event**

*Made with ❤️ by Priyanshu*