mirror of
https://github.com/hexastack/hexabot
synced 2025-05-05 21:34:41 +00:00
fix: base plugin getDefaultSettings
This commit is contained in:
parent
409422b2c4
commit
408d50a5d3
@ -38,7 +38,7 @@ export abstract class BaseBlockPlugin<
|
|||||||
this.settings = require(path.join(this.getPath(), 'settings')).default;
|
this.settings = require(path.join(this.getPath(), 'settings')).default;
|
||||||
}
|
}
|
||||||
|
|
||||||
async getDefaultSettings(): Promise<T> {
|
getDefaultSettings(): Promise<T> | T {
|
||||||
return this.settings;
|
return this.settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user