mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
add temporary info message about increased message character limit
This commit is contained in:
parent
28cd50a5bf
commit
c75451a572
1 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ namespace PluralKit.Bot
|
|||
if (!ShouldProxy(channel, message, ctx))
|
||||
return false;
|
||||
|
||||
// this is hopefully temporary, so not putting it into a separate method
|
||||
if (message.Content != null && message.Content.Length > 2000) throw new PKError("PluralKit cannot proxy messages over 2000 characters in length.");
|
||||
|
||||
// Fetch members and try to match to a specific member
|
||||
await using var conn = await _db.Obtain();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue