deprecated ip186 (and command /ip /whois)

This commit is contained in:
A.C.Sukazyo Eyre 2024-05-06 17:12:52 +08:00
parent a07c0b1b18
commit 7e8e66fcbb
Signed by: Eyre_S
GPG Key ID: C17CE40291207874
2 changed files with 8 additions and 1 deletions

View File

@ -5,7 +5,7 @@ MORNY_ARCHIVE_NAME = morny-coeur
MORNY_CODE_STORE = https://github.com/Eyre-S/Coeur-Morny-Cono
MORNY_COMMIT_PATH = https://github.com/Eyre-S/Coeur-Morny-Cono/commit/%s
VERSION = 1.3.3
VERSION = 1.3.4-dev1
USE_DELTA = false
VERSION_DELTA =

View File

@ -31,6 +31,13 @@ class IP186Query (using coeur: MornyCoeur) {
private def query (using event: Update, command: InputCommand): Unit = {
coeur.account exec SendMessage(
event.message.chat.id,
"🥺 This feature has been deprecated, due to the upstream service (https://ip.186526.xyz) has been gone for a long time."
).replyToMessageId(event.message.messageId)
return
val target: String|Null =
if (command.args isEmpty)
if event.message.replyToMessage eq null then null else event.message.replyToMessage.text