Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 732 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 732 Bytes

Pylon XP system

To use this module in Pylon, go to the editor, create a new file called xp.ts, copy the contents of this repositorys xp.ts into it and then put the following in your main.ts:

import './xp';

This module requires a pxlAPI account for image generation. If you have a pxlAPI application token, expose it in your main.ts as follows: global.PXLAPI_TOKEN = '<your token here>';.
You will also need to expose the channel you want to send the join/leave messages in like this: global.JOIN_LEAVE_CHANNEL = '<channel id here>'; An example main.ts would look like this:

global.PXLAPI_TOKEN = 'f03bc4bd35177305bc43cf3abb072436';
import './xp';