From b2a102f82a9e40bb6b005b9f763fd1cb0272b652 Mon Sep 17 00:00:00 2001 From: Dragory Date: Sat, 24 Feb 2018 13:14:40 +0200 Subject: [PATCH] A link to the current thread is no longer posted at the beginning of the thread --- CHANGELOG.md | 3 +++ src/data/threads.js | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb8ee79..8e62ef5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v2.0.1 +* The link to the current thread's log is no longer posted to the top of the thread. Use `!loglink` instead. + ## v2.0.0 * Rewrote large parts of the code to be more modular and maintainable. There may be some new bugs because of this - please report them through GitHub issues if you encounter any! * Threads, logs, and snippets are now stored in an SQLite database. The bot will migrate old data on the first run. diff --git a/src/data/threads.js b/src/data/threads.js index 47b7c4f..58fd71c 100644 --- a/src/data/threads.js +++ b/src/data/threads.js @@ -85,10 +85,6 @@ async function createNewThreadForUser(user) { disableEveryone: false }); - // Post the log link to the beginning (but don't save it in thread messages) - const logUrl = await newThread.getLogUrl(); - await newThread.postNonLogMessage(`Log URL: <${logUrl}>`); - // Send auto-reply to the user if (config.responseMessage) { newThread.postToUser(config.responseMessage);