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

Appearance settings

Alcheri/OnJoin

Open more actions menu

Repository files navigation

OnJoin

Tests Lint CodeQL Python Black Limnoria

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

Contributing

Security policy

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.