Skip to main content

Simple IRC bot library

Project description

ircbot

A minimal IRC bot library using the irc package.

Installation

pip install simple-irc-bot

Usage

import ircbot

bot = ircbot.Bot("server:port","nick")

def cmd_echo(*args):
    bot.send(" ".join(args))

bot.add_command("echo",cmd_echo)

bot.cmd_prefix = "&"

bot.start("#testchannel")

Do not use SSL as it's not supported.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_irc_bot-1.0.9-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file simple_irc_bot-1.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_irc_bot-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 65980fda2f82ab023ef6a2fc55bba6464ad2609af48e7c50af090b952d72764e
MD5 c3abee61b95e3cfbea918b97a74040c1
BLAKE2b-256 fa03e4392f0f6b43773200b8bc11be12e8a7320781aa5786d47e82fe6ad4a42e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page