Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

AugustArchive/ichigo

Repository files navigation

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.