mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
feat: profile picture plugin #256
This commit is contained in:
@@ -5,6 +5,7 @@ import type {
|
||||
SelectSetting,
|
||||
StringSetting,
|
||||
HotkeySetting,
|
||||
ComponentSetting,
|
||||
} from "./types";
|
||||
|
||||
export function numberSetting(
|
||||
@@ -52,6 +53,15 @@ export function buttonSetting(
|
||||
};
|
||||
}
|
||||
|
||||
export function componentSetting(
|
||||
options: Omit<ComponentSetting, "type">,
|
||||
): ComponentSetting {
|
||||
return {
|
||||
type: "component",
|
||||
...options,
|
||||
};
|
||||
}
|
||||
|
||||
export function hotkeySetting(
|
||||
options: Omit<HotkeySetting, "type">,
|
||||
): HotkeySetting {
|
||||
|
||||
Reference in New Issue
Block a user