8000 GitHub - precambrien/alis-bot-rs: IRC bot for advanced channel listing
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

precambrien/alis-bot-rs

Repository files navigation

Alis unofficial IRC bot

build test

IRC bot allowing to search for channels with more flexibility than the /LIST command. This bot is inspired by alis's service on Libera chat (Freenode RIP).

Bot usage:

<user> /msg alis-bot-rs list *foo* --topic ?bar --min 10 --max 50

Shows a list of channels whose name matches *foo* and topic matches ?bar, with at least 10 users and at most 50 users. For full command syntax and options, ask alis-bot-rs directly :

<user> /msg alis-bot-rs help

Build

Get Rust

https://www.rust-lang.org/en-US/install.html

Build

git clone https://github.com/precambrien/alis-bot-rs
cd alis-bot-rs
cargo build

Run tests

cargo test

Configuration

A configuration file is required to specify IRC server details, such as address of the IRC server, bot nickname and connection credentials. This config file can be specified with one of this argument :

  • --conf=<file>
  • --conf=<file1><file2> : allows alis-bot-rs to connect to multiple servers.
  • --conf-dir=<directory> : search for all *.toml file in directory (non-recursive). Files missing the server option will be considered unvalid. If no configuration file is provided, alis-bot-rs will use the default configuration file example_configuration.toml in this crate directory.

Example

alis-bot-rs -c libera_config.toml geeknode_config.toml

Or for full usage and options:

alis-bot-rs -h

About

IRC bot for advanced channel listing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0