Giter VIP home page Giter VIP logo

kmua-bot's Introduction

Hey 👋, I'm Krau, a learning undergraduate from China.📚

📈 Github statistics

GitHub Streak

kmua-bot's People

Contributors

ames0k0 avatar imgbot[bot] avatar imgbotapp avatar krau avatar mufanc avatar nyanwhite avatar poly000 avatar ricky8955555 avatar tjsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kmua-bot's Issues

抽老婆优化建议

我有个优化建议, 给管理员开一个清空抽老婆列表的功能,
因为大群里有人发广告, 然后搞得经常能把广告哥哥抽出来....
image

好几天都是这样的

关键是这些人都被踢掉过了, 但是还能抽出来, 就算把bot移除群聊在加进来, 还是记住了这些人.
应该是bot自己记录了在群里发言的人.
这个记录, 最好给一个能清空的方法吧.

不更新了吗

我是从博客看过来的,作者不打算更新这个系列了吗,我觉得还挺有意思的

Cannot generate quoted pictures while using docker to deploy Kmua

作者你好,我很喜欢这个机器人。当我使用docker按照readme里面所提供的配置部署Kmua到自己的机器上的时候,我发现在群聊里Kmua可以quote到我所引用的消息,但是并不能正常的生成图片, 请问这个问题您有没有遇到过呢?

另外,我想了解一下有没有设定可以引用的时候只让Kmua加入语录而不pin这个message呢?

期待您的回复

功能请求:提及发送者名字

就是waifu里的

你和 {common.mention_markdown_v2(waifu)} 已经结婚了哦, 还想娶第二遍嘛?

你今天的群幼老婆是 {mention_markdown_v2(waifu)} \!

改成类似

{common.mention_markdown_v2(user)} \!
\n
你和 {common.mention_markdown_v2(waifu)} 已经结婚了哦, 还想娶第二遍嘛?

{common.mention_markdown_v2(user)} \!
\n
你今天的群幼老婆是 {mention_markdown_v2(waifu)} \!

因为很多群为了防止bot被误触,会有删除bot命令的设置,
群友只能看到群宠被抽到,而无法知道是谁抽到群宠了。
所以类似场景下还是把双方都提及一下比较好。(做个开关?)

刚自己进docker改了一下,炸了.....还在排错中,先过来提个issues吧~~

自部署貌似在自我数据管理上有点问题

我使用docker-从按照readme里面所提供的配置部署Kmua到自己的机器上的时候
使用/start 并不能呼出菜单
doker日志里显示为

2024-03-07 16:08:23.441 | INFO     | kmua.callbacks.start:start:26 - [日] <start>
2024-03-07 16:08:24.178 | ERROR    | kmua.handlers:on_error:292 - 在该更新发生错误
Update(message=Message(channel_chat_created=False, chat=Chat(first_name='日', id=63295008, type=<ChatType.PRIVATE>), date=datetime.datetime(2024, 3, 7, 16, 8, 23, tzinfo=<DstTzInfo 'Asia/Shanghai' CST+8:00:00 STD>), delete_chat_photo=False, entities=(MessageEntity(length=6, offset=0, type=<MessageEntityType.BOT_COMMAND>),), from_user=User(first_name='日', id=63295008, is_bot=False, language_code='zh-hans'), group_chat_created=False, message_id=18, supergroup_chat_created=False, text='/start'), update_id=271499)
错误信息
BadRequest:There is no photo in the request
#里面涉及的个人信息,是我按照报错格式瞎写的

看报错貌似其他信息都正常拉取到了,只是因为没获取到头像,导致/srart触发的回复消息没有发出来。
但是群里/q和/waifu时,bot确实获取到了头像,就有点搞不懂原因了。
已在botfather关闭隐私模式,开启内联,我之所以出错,是因为我还需要做什么额外的设置吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.