Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

我想开发个修改昵称功能,请问可以实现吗?怎么实现? #15

Closed
zhong-wx opened this issue Aug 11, 2021 · 4 comments
Closed
Labels
question Further information is requested

Comments

@zhong-wx
Copy link

No description provided.

@mcoo
Copy link
Collaborator

mcoo commented Aug 11, 2021

可以实现修改群昵称
https://github.com/opq-osc/OPQBot/blob/main/main.go#L761

func (b *BotManager) SetGroupNewNick(newNick string, groupID, userId int64) error {

@mcoo mcoo added the question Further information is requested label Aug 11, 2021
@zhong-wx
Copy link
Author

OPQUrl 这个参数是怎么获取的呢?

@mcoo
Copy link
Collaborator

mcoo commented Aug 11, 2021

你需要搭建一个OPQ的程序
https://github.com/opq-osc/OPQ/wiki/%E5%AE%89%E8%A3%85%E6%8C%87%E5%8D%97
下载地址为:https://github.com/opq-osc/OPQ/releases/tag/v6.0.20
OPQUrl就是你搭建好的程序开放的地址,例如http://127.0.0.1:8888

@mcoo
Copy link
Collaborator

mcoo commented Aug 12, 2021

暂时先关闭如果有问题请打开

@mcoo mcoo closed this as completed Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants