This package has been deprecated

Author message:

Not maintained anymore, use a different RPC library.

@augu/ichigo
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

Ichigo

💌 | Discord RPC client made in TypeScript, based on discord-µrpc

Documentation | NPM

Example

import { Ichigo } from '@augu/ichigo';
const rpc = new Ichigo('');

rpc.on('open', () => console.log('[Ichigo] Opened connection.'));
rpc.on('error', (error) => console.error('[Ichigo] Unknown error!', error));
rpc.on('ready', () => {
    console.log('[Ichigo] Ready!');
    rpc.setActivity({
        instance: false,
        state: 'State',
        details: 'Details',
        timestamps: {
            start: new Date().getTime()
        }
    });
});

rpc.connect();

LICENSE

Ichigo is released under the MIT License, view here for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @augu/ichigo

Weekly Downloads

0

Version

1.3.0

License

MIT

Unpacked Size

21.7 kB

Total Files

13

Last publish

Collaborators

  • auguwu
  • ohlookitsaugust