Skip to content

Commit

Permalink
discord now allows colons/slashes in thread titles, remove workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
lgibson02 authored Aug 14, 2023
1 parent 846da42 commit 5be69f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ async function handleNewsMessage (message) {
await message.startThread({
// keep under thread limit
name: title.substr(0, MAX_THREAD_TITLE_LENGTH)
.replaceAll("/", "\u2044").replaceAll(":", "\u02d0")
});
} else {
// not a news story, remove message
Expand Down

0 comments on commit 5be69f3

Please sign in to comment.