mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2024-11-24 20:17:38 +08:00
for UserRandom requires the surrounding space between 'or' to avoid mismatches.
This commit is contained in:
parent
7e8e66fcbb
commit
d408fa2561
@ -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.4-dev1
|
||||
VERSION = 1.3.4-dev2
|
||||
|
||||
USE_DELTA = false
|
||||
VERSION_DELTA =
|
||||
|
@ -13,9 +13,8 @@ class OnUserRandom (using coeur: MornyCoeur) {
|
||||
|
||||
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 = {
|
||||
import event.update
|
||||
|
Loading…
Reference in New Issue
Block a user