Meet ParkerJS. ParkerJS is an attempt to replicate the functionality and features of Parkertron, by parkervcp in JS (runtime Node.JS).
ParkerJS is built with:
Want to run this bot for yourself? Follow the steps below.
You will require Node.JS, NPM and a Discord Bot. Download NodeJS here for your respective platforms. - https://nodejs.org/en/download. This project was built with Node.JS v20.10.0.
Install the latest NPM via the command:
npm install -g npm
.
Head to https://discord.com/developers/applications and create a New Application. Customise it's name, whatever you want. Ensure 'Public Bot' is disabled, and has at least the Server Members and Message Content intent enabled.
Congrats! Continue to the Installation section.
Clone the repo, either via the command git clone https://github.com/Skullians/ParkerJS/releases/latest
or downloading the source code ZIP file from https://github.com/Skullians/ParkerJS/releases/latest.
-
Once downloaded, unzip the file (if necessary) and open the project.
-
Head to
src/Configuration/Discord-Configuration/config.yml
and enter your Discord Bot's token, discord server ID (1 maximum) and channel IDs to listen to. This bot only supports a single discord server. Feel free to change any other settings :) -
Head to
src/Configuration/Support-Configuration/messages.yml
and configure your support messages there :) You can have unlimited support configs / regexes, although the more you add the longer it will take (probably not noticeable). -
Configuration is all done! Head to the Usage section.
To run the bot, open your respective OS's Command Prompt.
Head to the root directory of the ParkerJS folder, and run
node .
The bot should start up with no problems.
- Text Parsing
- Image Parsing (directly attached + URLs)
- Attachment Parsing (text files)
- Regex Support
- Application Commands (WIP)
- Config reload command
- Blacklist User command
- something else?
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the Apache-2.0 License. See Apache-2.0 License for more information.
I cannot stress enough: Thankyou parkervcp for allowing me to do this. Please give them a follow, and make sure to star the original parkertron project itself. <3
This is to acknowledge the other amazing NPM packages used in this project:
This is the FAQ, where I (hopefully) answer questions that people might have. No-one will probably use this project nor read it, but why not? Here goes.
- Why? - Why did I do this? Why the hell not? Hopefully I can include some features that parkertron (
currently) does not have, such as Slack support. I mainly did it for fun. It's a nice little project. - Custom Commands - One feature of Parkertron is the support for custom chat commands. For Discord at least, I am not currently planning on adding commands for this. If you want custom commands, use a different bot, such as carl bot, or make your own bot. For Slack and/or IRC, I will be including this functionality.