edg-l / PyBot

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Python 100.0%