fix: shorten channel name if it's too long for discords limit

This commit is contained in:
Kaaninchen
2026-08-20 13:22:14 +02:00
parent 999fe141b9
commit 054ab7fc42
8 changed files with 25 additions and 16 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
# generated by datamodel-codegen:
# filename: en.yaml
# timestamp: 2026-08-18T20:08:48+00:00
# timestamp: 2026-08-20T10:40:43+00:00
from __future__ import annotations
@@ -16,6 +16,7 @@ class LongName:
@dataclass
class Channel:
long_name: LongName
short_name: str
@dataclass