Code Monkey home page Code Monkey logo

bot's Introduction

Bot

一个智障的微信机器人,有很多奇奇怪怪的功能,支持在微信群中使用。

demo:

qrcode

Run

export HEWEATHER_KEY="your heweather key"
python bot.py

Usage

掷骰子

给bot发如下消息可以掷骰子。适用于 TRPG 跑团 (DnD, CoC, etc.)

基础用法,d 前面的数字为掷的次数,后面的数字为骰子面数,下面的即为投 2 次 6 面骰子。

.r 2d6

可以一次掷多种骰子,用加号连接即可

.r 1d6+1d20

可以增加修正值,在中间直接加减相应的数字

.r 1d6+5d20-10

可以在骰子语句后空格,然后写一句本次掷骰的用处(描述)

.r 1d100 群主今天女装的概率

天气及空气质量

查询天气

.tq 上海
.tq beijing

查询空气质量

.aqi 上海 
.aqi beijing

bot's People

Contributors

windfarer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sha-123-dow

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.