mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2024-11-24 12:07:39 +08:00
Compare commits
No commits in common. "d408fa25619f3524dcebc0e90488e16035980618" and "a07c0b1b18833d4e084e53fdababaf6cf768466f" have entirely different histories.
d408fa2561
...
a07c0b1b18
@ -5,7 +5,7 @@ MORNY_ARCHIVE_NAME = morny-coeur
|
|||||||
MORNY_CODE_STORE = https://github.com/Eyre-S/Coeur-Morny-Cono
|
MORNY_CODE_STORE = https://github.com/Eyre-S/Coeur-Morny-Cono
|
||||||
MORNY_COMMIT_PATH = https://github.com/Eyre-S/Coeur-Morny-Cono/commit/%s
|
MORNY_COMMIT_PATH = https://github.com/Eyre-S/Coeur-Morny-Cono/commit/%s
|
||||||
|
|
||||||
VERSION = 1.3.4-dev2
|
VERSION = 1.3.3
|
||||||
|
|
||||||
USE_DELTA = false
|
USE_DELTA = false
|
||||||
VERSION_DELTA =
|
VERSION_DELTA =
|
||||||
|
@ -31,13 +31,6 @@ class IP186Query (using coeur: MornyCoeur) {
|
|||||||
|
|
||||||
private def query (using event: Update, command: InputCommand): Unit = {
|
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 =
|
val target: String|Null =
|
||||||
if (command.args isEmpty)
|
if (command.args isEmpty)
|
||||||
if event.message.replyToMessage eq null then null else event.message.replyToMessage.text
|
if event.message.replyToMessage eq null then null else event.message.replyToMessage.text
|
||||||
|
@ -13,8 +13,9 @@ class OnUserRandom (using coeur: MornyCoeur) {
|
|||||||
|
|
||||||
object RandomSelect extends EventListener {
|
object RandomSelect extends EventListener {
|
||||||
|
|
||||||
private val USER_OR_QUERY = "^(.+)(?:还是| or )(.+)$"r
|
|
||||||
private val USER_IF_QUERY = "^(.+)(?:吗\\?|?|\\?|吗?)$"r
|
private val USER_OR_QUERY = "^(.+)(?:还是|or)(.+)$" r
|
||||||
|
private val USER_IF_QUERY = "^(.+)(?:吗\\?|?|\\?|吗?)$" r
|
||||||
|
|
||||||
override def onMessage (using event: EventEnv): Unit = {
|
override def onMessage (using event: EventEnv): Unit = {
|
||||||
import event.update
|
import event.update
|
||||||
|
Loading…
Reference in New Issue
Block a user