mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
Add switch editing functionality
This commit is contained in:
parent
e3fa0f3b32
commit
7d60b3e7cf
5 changed files with 92 additions and 4 deletions
|
|
@ -83,6 +83,7 @@ namespace PluralKit.Bot
|
|||
|
||||
public static PKError SwitchMoveBeforeSecondLast(ZonedDateTime time) => new PKError($"Can't move switch to before last switch time ({time.FormatZoned()}), as it would cause conflicts.");
|
||||
public static PKError SwitchMoveCancelled => new PKError("Switch move cancelled.");
|
||||
public static PKError SwitchEditCancelled => new PKError("Switch edit cancelled.");
|
||||
public static PKError SwitchDeleteCancelled => new PKError("Switch deletion cancelled.");
|
||||
public static PKError TimezoneParseError(string timezone) => new PKError($"Could not parse timezone offset {timezone}. Offset must be a value like 'UTC+5' or 'GMT-4:30'.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue