Skip to content

PylonApps/xp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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';