Limnoria/plugins/Games
Valentin Lorentz 314fad36eb Modernize tests
Thanks to https://pypi.org/project/teyit/
2022-11-20 19:33:23 +01:00
..
locales all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
README.rst supybot-plugin-doc: Remove extra space + regenerate all READMEs. 2021-12-04 03:19:12 +01:00
__init__.py Revert generic 'The Limnoria Contributors' in copyright notices 2021-10-17 09:57:55 +02:00
config.py Revert generic 'The Limnoria Contributors' in copyright notices 2021-10-17 09:57:55 +02:00
messages.pot all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
plugin.py Revert generic 'The Limnoria Contributors' in copyright notices 2021-10-17 09:57:55 +02:00
test.py Modernize tests 2022-11-20 19:33:23 +01:00

README.rst

Documentation for the Games plugin for Supybot

Purpose

This plugin provides some fun games like (Russian) roulette, 8ball, monologue which tells you how many lines you have spoken without anyone interrupting you, coin and dice.

Usage

This plugin provides some small games like (Russian) roulette, eightball, monologue, coin and dice.

Commands

coin takes no arguments

Flips a coin and returns the result.

dice <dice>d<sides>

Rolls a die with <sides> number of sides <dice> times. For example, 2d6 will roll 2 six-sided dice; 10d10 will roll 10 ten-sided dice.

eightball [<question>]

Ask a question and the answer shall be provided.

monologue [<channel>]

Returns the number of consecutive lines you've sent in <channel> without being interrupted by someone else (i.e. how long your current 'monologue' is). <channel> is only necessary if the message isn't sent in the channel itself.

roulette [spin]

Fires the revolver. If the bullet was in the chamber, you're dead. Tell me to spin the chambers and I will.

Configuration

supybot.plugins.Games.public

This config variable defaults to "True", is not network-specific, and is not channel-specific.

Determines whether this plugin is publicly visible.