feat: add author field in PluginManifest, move plugins to src dir

This commit is contained in:
PalmDevs 2025-05-01 12:18:28 +07:00
parent ddb603211b
commit 9ec501eb06
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA
5 changed files with 8 additions and 2 deletions

View file

@ -72,6 +72,10 @@ export interface PluginManifest {
* The name of the plugin.
*/
name: string
/**
* The author of the plugin.
*/
author: string
/**
* The description of the plugin.
*/

View file

@ -13,6 +13,7 @@ registerPlugin(
id: 'revenge.logging',
name: 'Logging',
description: "Extra logging for Revenge's internal modules",
author: 'Revenge',
icon: 'PaperIcon',
},
{

View file

@ -11,6 +11,7 @@ registerPlugin(
id: 'revenge.staff-settings',
name: 'Staff Settings',
description: "Allows accessing Discord's Staff Settings.",
author: 'Revenge',
icon: 'StaffBadgeIcon',
},
{

View file

@ -3,8 +3,8 @@
"compilerOptions": {
"types": ["@revenge-mod/types", "./types"],
"paths": {
"~plugins/*": ["./plugins/*"]
"~plugins/*": ["./src/plugins/*"]
}
},
"include": ["lib", "plugins", "src", "shims"]
"include": ["lib", "src/plugins", "src", "shims"]
}