Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
fix: fix title length to be under 100 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeocodes committed Nov 1, 2023
1 parent 17c058b commit c885ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contexts/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const help: Context = {
await message.delete();
const response = await makeAiRequest(bot, "response", content);
const thread = await bot.cache.helpChannel.threads.create({
name: `${truncateString(content, 100)}`,
name: `${truncateString(content, 90)}`,
autoArchiveDuration: 1440,
message: {
content: `Hey <@!${author.id}>, your question has been moved here!\n\n${content}`,
Expand Down

0 comments on commit c885ab9

Please sign in to comment.