An mirror from our Presences repository. https://github.com/PreMiD/Presences
|
преди 3 дни | |
---|---|---|
.github | преди 3 дни | |
.resources | преди 1 седмица | |
.vscode | преди 2 седмици | |
@types | преди 2 седмици | |
cli | преди 3 дни | |
premid | преди 2 седмици | |
websites | преди 3 дни | |
.gitattributes | преди 4 години | |
.gitignore | преди 2 седмици | |
LICENSE | преди 3 години | |
README.md | преди 3 дни | |
commitlint.config.js | преди 2 седмици | |
crowdin.yml | преди 2 седмици | |
eslint.config.mjs | преди 2 седмици | |
package-lock.json | преди 1 седмица | |
package.json | преди 3 дни | |
tsconfig.base.json | преди 2 седмици |
This repository contains the source code of all Activities that are available in PreMiD's Store. Activities enhance your Discord presence by showing what you're doing on various websites.
Want to create your own Activity or modify an existing one? Great! Follow these simple steps:
Set up your development environment
git clone https://github.com/PreMiD/Activities.git
cd Activities
npm install
Learn the basics
Start creating/editing
The repository includes a command-line tool (pmd
) to help you create and develop Activities easily.
To create a new Activity with all the necessary files and structure:
npx pmd new my-activity-name
This will guide you through a setup process, asking for basic information to generate the Activity structure.
Once you've created an Activity, you can develop it with live-reload functionality:
npx pmd dev my-activity-name
This command will:
Useful options:
--validate
: Run additional validation checks for metadata, images, etc.To test your Activity:
bash
npx pmd dev my-activity-name
pmd
tool will automatically send your Activity to the extension while in development modeThis development workflow allows you to see your changes in real-time without having to manually load the Activity each time you make a change.
When your Activity is ready:
This repository strictly enforces the use of commitlint. For more information read the Commit Convention guide