0.1.82 • Published 6 years ago

nitrocord v0.1.82

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

Nitrocord v0.1.78

Nitrocord is a JavaScript based discord API library designed to be the bridge between your applications and the Discord application.

Documentation

You can read through the Nitrocord documentation here (not ready yet)

Installation: NPM:

npm install nitrocord

Yarn:

yarn add nitrocord

NOTES: if something is scored through it has been made deprecated, ignore this unless you are using the version noted next to it or lower

Getting Started: To get started with Nitrocord, you first need to initiate the client:

const Nitro = require('nitrocord');
const client = new Nitro.Client()
/*you can put some options in the client call
using braces, some basic options to try include:
autoShard: The automatic sharding calculator
ignoreBots: should we allow events caused by robots to be thrown to you?
logging: what would you like the Nitrocord client to log (See the docs page)
*/

Logging In: To log in, you need to call the login() function.*

client.login("<Your-Token-Here>")

Subscribing to Events: To subscibe to an event, you must use the following function:

/*
	for events, the main ones to use will be:
	ready
	message
	guildCreate
	
	Event naming:
	All events follow the following pattern
	guildCreate
	guildBanAdd
	messageUpdate
	channelDelete
*/
client.on("Event Name", (data) => {
	//do something
})

Advisories

*If you have used the Nitrocord Config Creator tool and saved your token in there then you do not need to provide a token in the login function

Contact

you can contact me (the developer) through discord by sending a message in the Discord server

or alternatively, open an issue with the question tag

0.1.82

6 years ago

0.1.81

6 years ago

0.1.80

6 years ago

0.1.79

6 years ago

0.1.78

6 years ago

0.1.76

6 years ago

0.1.75

6 years ago

0.1.74

6 years ago

0.1.73

6 years ago

0.1.72

6 years ago

0.1.71

6 years ago

0.1.70

6 years ago

0.1.69

6 years ago

0.1.67

6 years ago

0.1.66

6 years ago

0.1.65

6 years ago

0.1.64

6 years ago

0.1.63

6 years ago

0.1.62

6 years ago

0.1.61

6 years ago

0.1.60

6 years ago

0.1.59

6 years ago

0.1.58

6 years ago

0.1.57

6 years ago

0.1.56

6 years ago

0.1.55

6 years ago

0.1.54

6 years ago

0.1.53

6 years ago

0.1.52

6 years ago

0.1.51

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

1.5.450

6 years ago

1.5.449

6 years ago

1.5.448

6 years ago

1.5.447

6 years ago

1.5.446

6 years ago

1.5.445

6 years ago

1.5.444

6 years ago

1.5.443

6 years ago

1.5.442

6 years ago

1.5.441

6 years ago

1.5.44

6 years ago

1.5.43

6 years ago

1.5.42

6 years ago

1.5.41

6 years ago

1.5.4

6 years ago

1.5.3

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.8

6 years ago

1.4.7

6 years ago

1.4.6

6 years ago

1.4.5

7 years ago

1.4.3

7 years ago

1.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago