Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

wwitzel3/ircholla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

11 Commits

Repository files navigation

A very simple library that connects to an IRC server and sends a notice or message to a channel. It supports very few features and does not handle failure cases well.

Currently you can only connect to a single server, join a single channel, and send a single message. Each new message requires a completely new connection.

Why

Needed an IRC notify library that didn't require any extra dependencies.

Features

  • Will attempt to find a random name if there is a NICK conflict.
  • Can join channels with keys.
  • Can send either a NOTICE or PRIVMSG to a channel.
  • No dependencies on large libraries.

Usage

 from ircholla import Holla
 myholla = Holla('chat.freenode.net:6667', '#botwar', 'mybot123')
 # note, this will connect a bot for notice and msg
 myholla.msg('I need you')
 myholla.msg('I need you', notice=True)

About

very basic IRC notify library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /