https://github.com/neomutt/neo-bot
🤖 IRC bot for #neomutt
https://github.com/neomutt/neo-bot
bot github helper irc neomutt
Last synced: 9 months ago
JSON representation
🤖 IRC bot for #neomutt
- Host: GitHub
- URL: https://github.com/neomutt/neo-bot
- Owner: neomutt
- Created: 2017-02-21T14:21:35.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2023-08-17T15:38:15.000Z (over 2 years ago)
- Last Synced: 2025-04-01T07:04:38.811Z (10 months ago)
- Topics: bot, github, helper, irc, neomutt
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 4
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# neo-bot
neo-bot is an IRC bot who converts pull requests/issues number into links.
It is based on the testbot included with python's irc package.
## Dependencies
- Python 3
## Install
```bash
$ pip install -r requirements.txt
```
## Usage
```
$ ./neo-bot.py --help
usage: neo-bot.py [-h] [-p PORT] [-u USER] [-r REPO] [-m MAX_AGE] server channel nickname
positional arguments:
server IRC server to connect to
channel IRC channel to join
nickname nickname to use
required arguments:
-k PATH, --api_token_path PATH Path to file containing the GitHub api key
optional arguments:
-h, --help show this help message and exit
-p PORT, --port PORT port of the IRC server
-u USER, --user USER default github user
-r REPO, --repo REPO default github repository
-m MAX_AGE, --max_age MAX_AGE
only show issues less than MAX_AGE days old
--cooldown_min do not repeat lookups within the given number of minutes
```
### Example:
```bash
./neo-bot.py irc.libera.chat neomutt neo-bot
```