Code Monkey home page Code Monkey logo

lichesspuzzle's Introduction

Lichess Daily Puzzle bot for Zulip

About

The purpose of this Zulip bot is to automatically post the daily chess puzzle from lichess.org in a specfic topic in a specific stream at a specific time of day every day. Read more about Lichess here.

Setup

  1. In your Zulip client, go to Settings -> Your bots, and add a new Generic bot
  2. Download its zuliprc file and put it at the root of this folder
  3. Download the zulip_bots Python package using pip3 install zulip_bots
  4. Place the contents of this folder into /python-zulip-api/zulip_bots/zulip_bots/bots/lichesspuzzle/
  5. Install requirements with pip3 install -r requirements.txt
  6. Start the bot with: zulip-run-bot lichesspuzzle --config-file zuliprc

(If you're having any problems with the last step, make sure lichesspuzzle is your working directory. If it still doesn't work, try zulip-run-bot lichesspuzzle.py --config-file zuliprc)

Usage

In these examples, I'll assume you've named your bot puzzlebot.

  • @puzzlebot set time HH:MM - Sets the time for when the bot will post the daily puzzle (24-hour format, UTC)
  • @puzzlebot get time - Returns the time for when the bot will post the daily puzzle (24-hour format, UTC)
  • @puzzlebot set stream stream_name - Sets the stream name the bot will post to (do not include a leading #)
  • @puzzlebot get stream - Returns the stream name the bot will post to
  • @puzzlebot set topic topic_name - Set the topic name the bot will post to
  • @puzzlebot get topic - Returns the topic name the bot will post to
  • @puzzlebot puzzle - The bot will reply to your message with the daily puzzle

lichesspuzzle's People

Contributors

arex1337 avatar ddugovic avatar

Watchers

 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.