Skip to content

Iusedmy1stnamelol/welcome-leave

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Pylon welcome/leave system

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

import './welcome-leave';

This module requires an fAPI account for image generation. Please refer to the ImageScript documentation on how to create one.
If you have an fAPI access token, expose it in your main.ts as follows: global.FAPI_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.FAPI_TOKEN = 'f03bc4bd35177305bc43cf3abb072436';
global.JOIN_LEAVE_CHANNEL = '730490621088759941';
import './welcome-leave';

About

Pylon welcome/leave system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%