SeaCogs/.docs/aurora/configuration.md

103 lines
2.3 KiB
Markdown
Raw Permalink Normal View History

# Configuration
2024-01-15 09:38:38 -05:00
/// admonition | Work in progress
2024-01-15 09:39:20 -05:00
type: warning
2024-01-15 09:38:38 -05:00
This page is still a work in progress.
///
2024-01-15 09:38:38 -05:00
## aurora
2024-01-15 09:38:38 -05:00
- Usage: `[p]aurora`
- Aliases: `moderation and mod`
2024-01-15 09:38:38 -05:00
Settings and miscellaneous commands for Aurora.
2024-01-15 09:38:38 -05:00
### aurora import
2024-01-15 09:38:38 -05:00
- Usage: `[p]aurora import`
- Restricted to: `ADMIN`
- Checks: `server_only`
2024-01-15 09:38:38 -05:00
Import moderation history from other bots.
#### aurora import aurora
- Usage: `[p]aurora import aurora`
2024-01-15 09:38:38 -05:00
- Restricted to: `ADMIN`
Import moderation history from another bot using Aurora.
#### aurora import galacticbot
- Usage: `[p]aurora import galacticbot`
2024-01-15 09:38:38 -05:00
- Restricted to: `ADMIN`
Import moderation history from GalacticBot.
2024-01-15 09:38:38 -05:00
### aurora settings
2024-01-15 09:38:38 -05:00
- Usage: `[p]aurora settings`
- Aliases: `config, options, and set`
2024-01-15 09:38:38 -05:00
Configure Aurora's settings.
#### aurora settings server
- Usage: `[p]aurora settings server`
- Restricted to: `ADMIN`
- Aliases: `server`
- Checks: `server_only`
Manage Aurora's server settings.
#### aurora settings overrides
- Usage: `[p]aurora settings overrides`
- Aliases: `override and user`
Manage Aurora's user overriddable settings.
2024-01-15 09:38:38 -05:00
#### aurora settings addrole
2024-01-15 09:38:38 -05:00
- Usage: `[p]aurora settings addrole`
- Restricted to: `ADMIN`
- Aliases: `removerole`
- Checks: `server_only`
2024-01-16 10:24:24 -05:00
Manage the addrole whitelist.
Roles added to this list are also applied to `/removerole`.
2024-01-15 09:38:38 -05:00
#### aurora settings immunity
2024-01-15 09:38:38 -05:00
- Usage: `[p]aurora settings immunity`
- Restricted to: `ADMIN`
- Checks: `server_only`
2024-01-15 09:38:38 -05:00
Manage the immunity whitelist.
### aurora timedelta
- Usage: `[p]aurora timedelta <duration>`
- Aliases: `tdc, td, and timedeltaconvert`
2024-05-04 09:51:43 -04:00
This command converts a duration to a [`timedelta`](https://docs.python.org/3/library/datetime.html#datetime.timedelta) Python object.You cannot convert years or months as they are not fixed units. Use `[p]aurora relativedelta` for that.
**Example usage**
2024-05-04 09:51:43 -04:00
`[p]aurora timedelta 1 day 15hr 82 minutes 52s`
**Output**
`1 day, 16:22:52`
2024-05-04 09:51:43 -04:00
### aurora relativedelta
- Usage: `[p]aurora relativedelta <duration>`
- Aliases: `rdc, rd, and relativedeltaconvert`
This command converts a duration to a [`relativedelta`](https://dateutil.readthedocs.io/en/stable/relativedelta.html) Python object.
**Example usage**
`[p]aurora relativedelta 3 years 1 day 15hr 82 minutes 52s`
**Output**
`relativedelta(years=+3, days=+1, hours=+15, minutes=+82, seconds=+52)`