@augu/ichigodeprecated

๐Ÿ’Œ Discord RPC client made in TypeScript

Usage no npm install needed!

<script type="module">
  import auguIchigo from 'https://cdn.skypack.dev/@augu/ichigo';
</script>

README

Ichigo

:love_letter: | 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.