use paste for messages longer than 512 and fix message sniping
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m10s

This commit is contained in:
Lee
2024-07-02 01:20:41 +01:00
parent 1a69bce9dd
commit 4f975ab07a
5 changed files with 89 additions and 7 deletions

View File

@ -0,0 +1,22 @@
package cc.fascinated.bat.model.token.paste;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
/**
* @author Fascinated (fascinated7)
*/
@AllArgsConstructor
@Getter @Setter
public class PasteUploadToken {
/**
* The key of the paste
*/
private final String key;
/**
* The url of the paste
*/
private String url;
}