Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/edg-l/pybot

A bot that uses server logs to listen for commands and send answers with fifo, made with python (DDnet)
https://github.com/edg-l/pybot

ddnet

Last synced: 22 days ago
JSON representation

A bot that uses server logs to listen for commands and send answers with fifo, made with python (DDnet)

Awesome Lists containing this project

README

        

# PyBot

Version: 1.0

Made by: Ryozuki

Commands: !help, !calc , !time, !dice

## Setup

Clone this repo while being on ddnet dir.

On your server config add:

`sv_input_fifo ddnet.fifo`

Run it with python3:

`python3 PyBot.py`

or `screen python3 PyBot.py` and then detach to keep it running

## Commands

- help: Give you a list of the bot commands
- calc : It's a calculator, you can also use the python math module, e.g: 2 * math.pi * 4
- time: Returns current server time
- dice: Roll a dice