We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3471c2e commit 31327f5Copy full SHA for 31327f5
src/modules/helpthread.ts
@@ -373,7 +373,8 @@ export class HelpThreadModule extends Module {
373
HelpThread.update(thread.id, {
374
titleSetTimestamp: Date.now() + '',
375
}),
376
- msg.channel.setName(`${username} - ${title}`),
+ // Truncate if longer than 100, the max thread title length
377
+ msg.channel.setName(`${username} - ${title}`.slice(0, 100)),
378
]);
379
}
380
0 commit comments