Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
go-cqhttp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
go-cqhttp
Commits
ad5e87c4
Commit
ad5e87c4
authored
Sep 02, 2020
by
wdvxdr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Auto stash before merge of "master" and "origin/master""
This reverts commit
ff8fd92a
.
parent
ff8fd92a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
48 deletions
+0
-48
coolq/cqcode.go
coolq/cqcode.go
+0
-4
go.mod
go.mod
+0
-4
go.sum
go.sum
+0
-40
No files found.
coolq/cqcode.go
View file @
ad5e87c4
...
@@ -465,11 +465,7 @@ func (bot *CQBot) ToElement(t string, d map[string]string, group bool) (message.
...
@@ -465,11 +465,7 @@ func (bot *CQBot) ToElement(t string, d map[string]string, group bool) (message.
return
nil
,
errors
.
New
(
"song error"
)
return
nil
,
errors
.
New
(
"song error"
)
}
}
json
:=
fmt
.
Sprintf
(
"{
\"
app
\"
:
\"
com.tencent.structmsg
\"
,
\"
desc
\"
:
\"
音乐
\"
,
\"
meta
\"
: {
\"
music
\"
: {
\"
desc
\"
:
\"
来自MiraiGo
\"
,
\"
jumpUrl
\"
:
\"
%s
\"
,
\"
musicUrl
\"
:
\"
%s
\"
,
\"
preview
\"
:
\"
%s
\"
,
\"
tag
\"
:
\"
QQ音乐
\"
,
\"
title
\"
:
\"
%s
\"
}},
\"
prompt
\"
:
\"
[分享]%s
\"
,
\"
ver
\"
:
\"
0.0.0.1
\"
,
\"
view
\"
:
\"
music
\"
}"
,
jumpUrl
,
purl
,
preview
,
name
,
name
)
json
:=
fmt
.
Sprintf
(
"{
\"
app
\"
:
\"
com.tencent.structmsg
\"
,
\"
desc
\"
:
\"
音乐
\"
,
\"
meta
\"
: {
\"
music
\"
: {
\"
desc
\"
:
\"
来自MiraiGo
\"
,
\"
jumpUrl
\"
:
\"
%s
\"
,
\"
musicUrl
\"
:
\"
%s
\"
,
\"
preview
\"
:
\"
%s
\"
,
\"
tag
\"
:
\"
QQ音乐
\"
,
\"
title
\"
:
\"
%s
\"
}},
\"
prompt
\"
:
\"
[分享]%s
\"
,
\"
ver
\"
:
\"
0.0.0.1
\"
,
\"
view
\"
:
\"
music
\"
}"
,
jumpUrl
,
purl
,
preview
,
name
,
name
)
<<<<<<<
Updated
upstream
return
message
.
NewJsonMsg
(
json
),
nil
return
message
.
NewJsonMsg
(
json
),
nil
=======
return
message
.
NewLightApp
(
json
),
nil
>>>>>>>
Stashed
changes
}
}
if
d
[
"type"
]
==
"163"
{
if
d
[
"type"
]
==
"163"
{
info
,
err
:=
global
.
NeteaseMusicSongInfo
(
d
[
"id"
])
info
,
err
:=
global
.
NeteaseMusicSongInfo
(
d
[
"id"
])
...
...
go.mod
View file @
ad5e87c4
...
@@ -3,11 +3,7 @@ module github.com/Mrs4s/go-cqhttp
...
@@ -3,11 +3,7 @@ module github.com/Mrs4s/go-cqhttp
go 1.14
go 1.14
require (
require (
<<<<<<< Updated upstream
github.com/Mrs4s/MiraiGo v0.0.0-20200901081949-6328ae0e93db
github.com/Mrs4s/MiraiGo v0.0.0-20200901081949-6328ae0e93db
=======
github.com/Mrs4s/MiraiGo v0.0.0-20200902072401-56d3e65e98b5
>>>>>>> Stashed changes
github.com/fastly/go-utils v0.0.0-20180712184237-d95a45783239 // indirect
github.com/fastly/go-utils v0.0.0-20180712184237-d95a45783239 // indirect
github.com/gin-gonic/gin v1.6.3
github.com/gin-gonic/gin v1.6.3
github.com/go-playground/validator/v10 v10.3.0 // indirect
github.com/go-playground/validator/v10 v10.3.0 // indirect
...
...
go.sum
View file @
ad5e87c4
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment