mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
Merge branch 'main' into feature/groups
This commit is contained in:
commit
8688f4d0bf
42 changed files with 359 additions and 219 deletions
|
|
@ -99,7 +99,7 @@ namespace PluralKit.Bot {
|
|||
public static PKError DurationParseError(string durationStr) => new PKError($"Could not parse '{durationStr}' as a valid duration. Try a format such as `30d`, `1d3h` or `20m30s`.");
|
||||
public static PKError FrontPercentTimeInFuture => new PKError("Cannot get the front percent between now and a time in the future.");
|
||||
|
||||
public static PKError GuildNotFound(ulong guildId) => new PKError($"Guild with ID {guildId} not found.");
|
||||
public static PKError GuildNotFound(ulong guildId) => new PKError($"Guild with ID {guildId} not found. Note that you must be a member of the guild you are querying.");
|
||||
|
||||
public static PKError DisplayNameTooLong(string displayName, int maxLength) => new PKError(
|
||||
$"Display name too long ({displayName.Length} > {maxLength} characters). Use a shorter display name, or shorten your system tag.");
|
||||
|
|
@ -115,5 +115,6 @@ namespace PluralKit.Bot {
|
|||
|
||||
public static PKError AttachmentTooLarge => new PKError("PluralKit cannot proxy attachments over 8 megabytes (as webhooks aren't considered as having Discord Nitro) :(");
|
||||
public static PKError LookupNotAllowed => new PKError("You do not have permission to access this information.");
|
||||
public static PKError ChannelNotFound(string channelString) => new PKError($"Channel \"{channelString}\" not found or is not in this server.");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue