Giter Site home page Giter Site logo

gugumoe-bot's Introduction

https://github.com/GooGuJiang/Gugumoe-bot

Gugumoe-bot

这是咕谷酱的Telegram机器人 (咕小酱) 是基于 pyTelegramBotAPI 的一个 Python 机器人。

同时会有一堆运行Bug

咕小酱在这呢👉@gugumoe_bot


Alt

⚠️本仓库文档未完善

👉功能

  • 今日人品 ✅
  • 咕 ✅
  • 能不能好好说话? ✅
  • OSU查询功能 ✅
  • Http.Cat ✅
  • IP 测试 ✅

💁‍♀️ 怎么部署?

  1. 确保 python 的版本为 3.x

  2. 将本仓库 clone 到本地:

$ git clone https://github.com/GooGuJiang/Gu-Random-Image.git
  1. 安装所需库
$ pip install -r requirements.txt
  1. 安装 NextTrace (因为重构的路由跟踪功能)
# Linux one-click install script
$ bash <(curl -Ls https://raw.githubusercontent.com/sjlleo/nexttrace/main/nt_install.sh)

# macOS brew install command
$ brew tap xgadget-lab/nexttrace && brew install nexttrace
  1. 执行初始化
$ python3 main.py
  1. 配置 config.yml

  2. 启动机器人

$ python3 main.py

⚠️注意事项

在使用该机器人之前,请先安装 GTK+ Runtime Environment!否则会出现部分功能 无法使用、运行报错 等问题!

GTK+ For Windows

Linux解决方案

👉指令列表

指令 功能
gu 咕咕咕!
gu_eat 生成一张吃头像贴纸
gu_5000choyen 生成一张 想要5000兆日元 贴纸
jrrp 今日人品?
guhhsh 能不能好好说话?
httpcat Http.Cat
moetrace 番剧截图搜索
guosu_help OSU功能帮助菜单
guip_ping Ping
guip_trace 路由跟踪

😊配置文件说明

请严格使用 YAML 的书写规范进行配置

名称 描述 类型 举例
botToken Telegram 机器人 Token str 114514XXX:XXXX_XXXXXXX_XXXXXX
osuToken OSU API KEY str 56a3261XXXXX109XXXXX79
proxybool 是否通过代理 bool True
proxy 代理配置 json {'http': 'socks5://127.0.0.1:8089','https': 'socks5://127.0.0.1:8089'}
musicapi 网易云第三方API地址(暂时没用) str http://XXXX:3000
musicphone 网易云手机号(暂时没用) int 11451419198
musicpwd 网易云登录密码(暂时没用) str XXXXXXXX

第三方API基于 NeteaseCloudMusicApi 使用网上公共API请注意安全哦!

gugumoe-bot's People

Contributors

googujiang avatar hsn8086 avatar miaoyww avatar windleaf233 avatar

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.