Skip to content

Commit

Permalink
Add option to show dependencies confirmation before importing a module
Browse files Browse the repository at this point in the history
  • Loading branch information
kerollosy committed May 28, 2024
1 parent 539a4f6 commit b44f011
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/kotlin/com/chattriggers/ctjs/api/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ object Config : Vigilant(File(CTJS.configLocation, "ChatTriggers.toml"), sorting
)
var autoUpdateModules = true

@JvmStatic
@Property(
PropertyType.SWITCH,
name = "Show Dependencies Confirmation",
category = "General",
description = "Receive a confirmation message listing the dependencies before importing a module.",
)
var dependenciesConfirmation = false

@JvmStatic
@Property(
PropertyType.SWITCH,
Expand Down

0 comments on commit b44f011

Please sign in to comment.