GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - denkbares/PollMatrixBot: A poll matrix bot.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

82 Commits
82 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
release_notes
release_notes
 
 
src
src
 
 
tests
tests
 
 
.env_example
.env_example
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
lunchy_bot.log
lunchy_bot.log
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

PollMatrixBot

simplematrixbotlib

A handy bot for creating and managing polls in Matrix rooms.

Features

  • !create title: Create a new poll with the specified title.
  • !close: Close the current poll.
  • !remove : Remove the given item from the poll.
  • !list: List all items currently in the poll.
  • !add : Add a new item to the poll (if enabled in the configuration).
  • !help: Display the help message with available commands.

Installation

Prerequisites

  • A Matrix account (Sign up at Matrix.org)
  • Python 3.x

Using Docker Compose (Recommended)

  1. Clone the repository:

    git clone https://github.com/bennocrafter/pollmatrixbot.git
    cd PollMatrixBot
  2. (Recommended) Build the Docker image:

docker-compose build
  1. Start the bot in detached mode:
docker-compose up -d

Running without Docker (Not Recommended)

  1. Install required dependencies:
pip install -r requirements.txt
  1. Run the main script:
python main.py

Commands

The Matrix Poll Bot supports the following commands:

  • !create title: Creates a new poll with the specified title.
  • !close: Closes the current poll and displays a status report.
  • !remove : Removes the given item from the current poll (if enabled).
  • !list: Lists all options currently available in the poll.
  • !add : Adds a new option to the current poll (if enabled, configurable).
  • !help: Displays the help message with available commands.

Configuration

Create a .env file in the project's root directory with the following environment variables:

USERNAME=your-matrix-username
PASSWORD=your-matrix-password
HOMESERVER=your-matrix-homeserver

Configure other things in assets/config.yaml

About

A poll matrix bot.

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.