Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/edg-l/pybot
- Owner: edg-l
- Created: 2016-08-23T09:25:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-13T19:07:46.000Z (over 4 years ago)
- Last Synced: 2024-10-19T08:18:56.721Z (2 months ago)
- Topics: ddnet
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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