mirror of
https://github.com/kiranshila/Doplarr.git
synced 2026-04-05 08:53:45 -04:00
Fix role id to be a long instead of a string
This commit is contained in:
@@ -142,7 +142,7 @@ To skip the build, just download `Doplarr.jar` and `config.edn` from the release
|
||||
| Environment Variable (Docker) | Config File Keyword | Type | Default Value | Description |
|
||||
| ----------------------------- | -------------------------- | ------- | ------------- | --------------------------------------------------------------------------------------------------- |
|
||||
| `DISCORD__MAX_RESULTS` | `:discord/max-results` | Integer | `25` | Sets the maximum size of the search results selection |
|
||||
| `DISCORD__ROLE_ID` | `:discord/role-id` | String | N/A | The discord role id for users of the bot (omitting this lets everyone on the server use the bot) |
|
||||
| `DISCORD__ROLE_ID` | `:discord/role-id` | Long | N/A | The discord role id for users of the bot (omitting this lets everyone on the server use the bot) |
|
||||
| `SONARR__QUALITY_PROFILE` | `:sonarr/quality-profile` | String | N/A | The name of the quality profile to use by default for Sonarr |
|
||||
| `RADARR__QUALITY_PROFILE` | `:radarr/quality-profile` | String | N/A | The name of the quality profile to use by default for Radarr |
|
||||
| `SONARR__LANGUAGE_PROFILE` | `:sonarr/language-profile` | String | N/A | The name of the language profile to use by default for Radarr |
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
; :sonarr/quality-profile ""
|
||||
; :radarr/quality-profile ""
|
||||
; :sonarrr/language-profile ""
|
||||
; :discord/role-id ""
|
||||
; :discord/role-id role_id
|
||||
; :discord/max-results 10
|
||||
; :overseerr/default-id 1
|
||||
; :log-level :trace
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
; --- Optional settings
|
||||
(spec/def ::log-level keyword?)
|
||||
(spec/def :discord/role-id string?)
|
||||
(spec/def :discord/role-id int?)
|
||||
(spec/def :discord/max-results #(and (pos-int? %)
|
||||
(<= % 25)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user