Skip to content

Alcheri/OnJoin

OnJoin

Tests Lint CodeQL

Send a random (humorous) notice to a user entering an IRC channel.

Configuring

  • Enable in channel(s):

  • config channel #channel plugins.onjoin.enable True or False (On or Off)

  • config plugins.onjoin.maxQuotes 1000 to retain at most the newest stored quotes

  • config plugins.onjoin.maxRecentQuotes 10 to cap how many quotes recentquotes may show

Installation

From your Limnoria plugins directory (for example, ~/runbot/plugins):

git clone https://github.com/Alcheri/OnJoin.git

Load the plugin:

/msg yourbot load OnJoin

Admin commands

  • addquote <text> appends a quote to the shared quotes file. This requires the bot admin capability.
  • recentquotes [count] shows the newest stored quotes, up to the configured maximum, with quote numbers you can use for deletion. This also requires the bot admin capability.
  • delquote <quote_number> deletes a stored quote by its recentquotes number. This also requires the bot admin capability.

Python Source Header Policy

  • In Python 3 files, do not add # -*- coding: utf-8 -*- unless a non-default source encoding is required.
  • Use #!/usr/bin/env python3 only for executable scripts, not import-only modules.

About

Send a random (humorous) notice to a user entering an IRC channel.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages