Skip to content

Commit

Permalink
Update DefaultsUsed
Browse files Browse the repository at this point in the history
- Add info about service specific settings
  • Loading branch information
ThatStella7922 committed Aug 21, 2023
1 parent 807b956 commit 5006a36
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions dcbattwebhook-swift/DefaultsUsed.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Defaults Used

## Settings
- WebhookURL
- String, contains the Discord Webhook URL
- UserpfpUrl
- String, contains the URL of the user's avatar image

### Global
- UsrName
- String, contains the user set display name
- UsrPronoun
Expand All @@ -22,6 +20,17 @@
- SelectedServiceType
- String, stores the user's preference on which service (discord, telegram, etc) they want to use. Must be selected from a predefined list. See serviceTypes array in WebhookSettingsView.swift

### Service Specific Settings
The way these are done rn is the following:
```swift
selectedServiceType + "WebhookUrl"
```
#### Discord
- DiscordWebhookUrl
- String, contains the Discord Webhook URL
- DiscordUserPfpUrl
- String, contains the URL of the user's avatar image

## Automation Settings
- SendOnPluggedIn
- Bool, stores the user's choice on enabling the automated sending of battery info when they plug in their device
Expand Down

0 comments on commit 5006a36

Please sign in to comment.