feat: add author field in PluginManifest, move plugins to src dir
This commit is contained in:
parent
ddb603211b
commit
9ec501eb06
5 changed files with 8 additions and 2 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ registerPlugin(
|
|||
id: 'revenge.logging',
|
||||
name: 'Logging',
|
||||
description: "Extra logging for Revenge's internal modules",
|
||||
author: 'Revenge',
|
||||
icon: 'PaperIcon',
|
||||
},
|
||||
{
|
||||
|
|
@ -11,6 +11,7 @@ registerPlugin(
|
|||
id: 'revenge.staff-settings',
|
||||
name: 'Staff Settings',
|
||||
description: "Allows accessing Discord's Staff Settings.",
|
||||
author: 'Revenge',
|
||||
icon: 'StaffBadgeIcon',
|
||||
},
|
||||
{
|
||||
|
|
@ -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"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue