Skip to content

[BUG] - Snippets can be created that exceed the discord character limit #816

@anemoijereja-eden

Description

@anemoijereja-eden

Describe the Bug

It is possible for a snippet to be created that is too long for tux to send when called with $s

To Reproduce

Steps to reproduce the behavior:

Create a snippet with a combined title and body length close enough to the 2000 character limit that tux's formatting pushes it over, and then try to view the snippet.

Expected Behavior

The $cs command should have logic that rejects the creation of snippets that exceed the character limit.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions