mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-06-08 08:59:55 +08:00
feat: set default storage by inline keyboard
This commit is contained in:
@@ -24,15 +24,6 @@ type Alist struct {
|
||||
config config.AlistStorageConfig
|
||||
}
|
||||
|
||||
var ConfigurableItems = []string{
|
||||
"url",
|
||||
"username",
|
||||
"password",
|
||||
"base_path",
|
||||
"token_exp",
|
||||
"token",
|
||||
}
|
||||
|
||||
func (a *Alist) Init(cfg config.StorageConfig) error {
|
||||
alistConfig, ok := cfg.(*config.AlistStorageConfig)
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user