Commit Graph

38 Commits

Author SHA1 Message Date
Mattia Rizzolo 981a3b245a QuoteGrabs: fix SyntaxWarning (#1391)
SyntaxWarning: "is" with a literal. Did you mean "=="?

Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
2019-11-27 07:59:11 -08:00
Valentin Lorentz c1ae3f5c81 all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Valentin Lorentz c3a2c800f1 Remove need for 2to3. 2015-08-11 16:50:23 +02:00
Valentin Lorentz 216c5d213f Replace sys.version_info[0] usages with minisix.PY{2,3}. 2015-08-09 00:23:03 +02:00
Valentin Lorentz be118c3338 Remove use of fix_dict fixer. 2015-08-08 23:08:49 +02:00
Valentin Lorentz 487f8c8af5 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	.mailmap
	README
	docs/FAQ.rst
	plugins/Ctcp/plugin.py
	plugins/Misc/plugin.py
	plugins/Network/plugin.py
	plugins/QuoteGrabs/plugin.py
	plugins/RSS/README.txt
	plugins/Relay/plugin.py
	plugins/ShrinkUrl/config.py
	plugins/ShrinkUrl/plugin.py
	plugins/ShrinkUrl/test.py
	setup.py
	src/callbacks.py
	src/commands.py
	src/conf.py
	test/test_commands.py
2015-05-15 14:41:08 +02:00
Johannes Löthberg 75288193ad QuoteGrabs: Add say command
The say command just returns the text of the grab, so you can get just
the quote from a specific qid.
2015-02-14 13:15:13 +01:00
Valentin Lorentz 5e8896fe6d QuoteGrabs: Prevent quote grabs from queries.
Signed-off-by: James McCoy <vega.james@gmail.com>
2014-12-18 21:12:27 -05:00
Valentin Lorentz a334634367 QuoteGrabs: Prevent quote grabs from queries. 2014-12-17 08:01:25 +01:00
James Lu a755238ef4 Add/improve help for Debug + plugins from F-W:
- Debug
- Factoids
- Format
- Games
- Google
- Herald
- Internet
- Karma
- Lart
- Math
- Misc
- MoobotFactoids
- Network
- News
- NickAuth
- Nickometer
- Note
- Owner
- Protector
- Quote
- QuoteGrabs
- Relay
- Scheduler
- Seen
- ShrinkUrl
- Status
- String
- Time
- Todo
- Topic
- URL
- Unix
- User
- Utilities
- Web
2014-11-30 12:07:41 -08:00
Valentin Lorentz b938ef68fb QuoteGrabs: Fix previous commit. 2014-08-05 11:49:13 +02:00
Valentin Lorentz 35bfd76852 Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support (without breaking Python 2 support). 2014-08-05 11:20:20 +02:00
Valentin Lorentz 907ede8035 Revert "Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support."
This reverts commit 30e03a542a.
2014-08-05 11:20:20 +02:00
Valentin Lorentz 30e03a542a Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support. 2014-08-05 10:48:31 +02:00
Valentin Lorentz 38bab185a9 Remove Python2.4-specific code. 2013-07-13 17:28:21 +02:00
Valentin Lorentz 3dba9088b0 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	INSTALL
	plugins/ChannelLogger/README.txt
	plugins/ChannelStats/README.txt
	plugins/Google/plugin.py
	plugins/Google/test.py
	plugins/Plugin/test.py
	plugins/Web/test.py
	setup.py
	src/callbacks.py
	src/ircdb.py
	src/irclib.py
	src/utils/str.py
	test/test_irclib.py
2013-01-01 21:11:24 +01:00
James McCoy 82ecf36fcd Update my name/contact information
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:16:48 -04:00
Daniel Folkinshteyn 92fc1e308f update quotegrabs to sqlite3 2011-02-25 19:14:06 +01:00
Valentin Lorentz 029c0cbe80 Internationalize Nickometer, Praise, Protector, Quote, and QuoteGrabs 2010-10-17 18:37:13 +02:00
James Vega 288d7c6e02 Update plugins to ignore all non-ACTION CTCP messages.
Also update commands.urlSnarfer to do the same, which allows us to revert
"Don't bother snarfing URLs from non-Action CTCP messages."

This reverts commit 3282e3407e.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-01-28 08:14:44 -05:00
James Vega 927c8c963a Use the correct URLs for the PySqlite website.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-10-21 22:48:04 -04:00
James Vega f475525237 Update references to PySqlite URL
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-10-21 22:43:26 -04:00
Štěpán Němec e922918564 QuoteGrabs plugin: Add an `ungrab' command.
Also add a missing error check in the `list' db method.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-27 14:47:09 -04:00
James Vega cbf68e53e3 QuoteGrabs: QuoteGrabsRecord at arg needs to be an int.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-07-18 20:27:45 -04:00
James Vega 874508867f QuoteGrabs: Fix incorrect argument order to _grab
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-06-26 16:58:46 -04:00
James Vega 46a4076988 Add .gitignore
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-02-27 14:17:31 -05:00
James Vega a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega 5c59539145 Change pysqlite.sf.net references to pysqlite.org 2005-11-03 05:31:24 +00:00
James Vega a035492295 plugins/QuoteGrabs: Order the quotes in reverse chronological order. 2005-08-04 17:53:29 +00:00
Jeremy Fincher 490fb0b140 Changed prefixName to prefixNick, which is more appropriate, and has always bothered me. Better now than later. 2005-06-01 21:08:30 +00:00
James Vega 9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
James Vega 7b46f95f19 Better error messages when we can't load PySQLite. 2005-03-06 20:51:10 +00:00
Jeremy Fincher b0cb616709 Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin. 2005-02-09 07:04:04 +00:00
James Vega bc9f0ee39e Remove evil tabs! 2005-02-01 13:57:51 +00:00
James Vega 92839a94e7 Remove supybot.privmsgs imports. 2005-02-01 13:57:14 +00:00
Daniel DiPaolo f2fba0962e Move QG docstring to proper place 2005-02-01 03:58:38 +00:00
Daniel DiPaolo 32d535c1d6 Addition of search to Quotegrabs 2005-02-01 01:33:16 +00:00
Daniel DiPaolo a5ba65cf6f Initial conversion of QuoteGrabs and addition of QG.search 2005-01-29 20:07:22 +00:00