2.0.1 • Published 5 years ago

dis.code v2.0.1

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

img

Currently, this package is in beta, it does not have many features.

If you are looking to test my package, I have the following example:

const dsc=require('dis.code');
const token='youputyourtokenhere';
const client=new dsc.client(token,{
    prefix: '>',
    ownerID: '186480997586436106'
});
client.ready(()=>console.log('Bot loaded'));
client.command((data)=>{
    console.log(data);
});
client.run();

If you run this snippet, and send >say arguments are cool "Hello parser!" -y --flag --anotherflag:value "--somanyflags:are cool", it will print this to console:

{ cmd: 'say',
  args: [ 'arguments', 'are', 'cool', 'Hello parser!' ],
  flags:
   { y: true,
     flag: true,
     anotherflag: 'value',
     somanyflags: 'are cool' },
  raw: '>say arguments are cool "Hello parser!" -y --flag --anotherflag:value "--somanyflags:are cool"' }

Docs Repo NPM Page

2.0.1

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago