Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ptt #11

Merged
merged 8 commits into from
Aug 5, 2020
Merged

Ptt #11

merged 8 commits into from
Aug 5, 2020

Conversation

LXY1226
Copy link
Contributor

@LXY1226 LXY1226 commented Aug 4, 2020

语音实现

但是testing
而且api写的稀巴烂.....

但是能用

但是pc上因为silk一坨屎所以还是半能用

@LXY1226
Copy link
Contributor Author

LXY1226 commented Aug 4, 2020

merge与否均可
当log也行

@LXY1226
Copy link
Contributor Author

LXY1226 commented Aug 4, 2020

m := message.NewSendingMessage() data, _ := ioutil.ReadFile("t.amr") t, err := c.UploadGroupPtt(msg.GroupCode, data, 30) if err != nil { println(err.Error()) os.Exit(1) } m.Ptt = &t.Ptt c.SendGroupMessage(msg.GroupCode, m)(承认不会用md得事实

go.mod Outdated
@@ -3,6 +3,7 @@ module github.com/Mrs4s/MiraiGo
go 1.14

require (
github.com/golang/protobuf v1.4.1
github.com/golang/protobuf v1.4.2
github.com/valyala/fasthttp v1.15.1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

尽量不要引入其他第三方库. 此处可使用系统的http库

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(但是它又快又方便bug也少

@LXY1226 LXY1226 requested a review from Mrs4s August 5, 2020 00:47
@Mrs4s Mrs4s merged commit 133151b into Mrs4s:master Aug 5, 2020
@LXY1226 LXY1226 deleted the Ptt branch August 5, 2020 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants