feat: support parse youtube video

This commit is contained in:
2024-10-15 15:40:33 +08:00
parent 88fd259712
commit c2e1ec91b5
7 files changed
+133 -2

No files matched your search

@@ -69,6 +69,7 @@ class FancyBot : OneBotListener {
BiliVideoParseCommand.parse(this, message)
BiliUserParseCommand.parse(this, message)
DouyinVideoParseCommand.parse(message)
YoutubeVideoParseCommand.parse(message)
if (message.rawMessage.toList().any { it in arrayListOf('*', '-', '/', '+', '=') }) {
val calculateResult = CalculateCommand.parse(message.rawMessage)