diff --git a/CHANGELOG.md b/CHANGELOG.md index 91f6a2d2..f7d279ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,7 +51,7 @@ - Minor: Migrated /unvip command to Helix API. (#4025) - Minor: Migrated /untimeout to Helix API. (#4026) - Minor: Migrated /unban to Helix API. (#4026) -- Minor: Migrated /raid command to Helix API. (#4029) +- Minor: Migrated /raid command to Helix API. Chat command will continue to be used until February 11th 2023. (#4029) - Bugfix: Connection to Twitch PubSub now recovers more reliably. (#3643, #3716) - Bugfix: Fixed `Smooth scrolling on new messages` setting sometimes hiding messages. (#4028) - Bugfix: Fixed a crash that can occur when closing and quickly reopening a split, then running a command. (#3852) diff --git a/src/controllers/commands/CommandController.cpp b/src/controllers/commands/CommandController.cpp index 9c4298a5..41bbdaa1 100644 --- a/src/controllers/commands/CommandController.cpp +++ b/src/controllers/commands/CommandController.cpp @@ -43,8 +43,10 @@ using namespace chatterino; bool areIRCCommandsStillAvailable() { - // TODO: time-gate - return true; + // 11th of February 2023, 06:00am UTC + const QDateTime migrationTime(QDate(2023, 2, 11), QTime(6, 0), Qt::UTC); + auto now = QDateTime::currentDateTimeUtc(); + return now < migrationTime; } QString useIRCCommand(const QStringList &words)