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()

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.8-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for simple_irc_bot-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a9f5b11ddf64a3fe927fc49fa7a182dea62266fd6dcdf1349edab4f3a7514435
MD5 640f3ef6ac1c6912d7c9d70b67c21681
BLAKE2b-256 005f69371ccf601204999c5aa0e3f3647fdda96483b3b0503a3b969de74cb5c4

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