~ubuntu-ru-irc/+junk/irckit

« back to all changes in this revision

Viewing changes to ubuntuhelp/ubuntubot/plugins/Encyclopedia/__init__.py

  • Committer: rmPIC30 at gmail
  • Date: 2010-07-13 09:08:58 UTC
  • Revision ID: rmpic30@gmail.com-20100713090858-w5kkmk093hx38cen
Добавляю бота

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- Encoding: utf-8 -*-
 
2
###
 
3
# Copyright (c) 2006-2007 Dennis Kaarsemaker
 
4
# Copyright (c) 2008-2010 Terence Simpson
 
5
#
 
6
# This program is free software; you can redistribute it and/or modify
 
7
# it under the terms of version 2 of the GNU General Public License as
 
8
# published by the Free Software Foundation.
 
9
#
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
# GNU General Public License for more details.
 
14
#
 
15
###
 
16
 
 
17
"""
 
18
This plugin is a factoid encyclopedia. Ubuntu/Debian package and file lookup
 
19
funtionality has been moved to PackageInfo
 
20
"""
 
21
 
 
22
import supybot
 
23
import supybot.world as world
 
24
 
 
25
__version__ = "2.3"
 
26
__author__ = supybot.Author("Terence Simpson", "tsimpson", "tsimpson@ubuntu.com")
 
27
__contributors__ = {
 
28
    supybot.Author("Dennis Kaarsemaker","Seveas","dennis@kaarsemaker.net"): ['Original Author']
 
29
}
 
30
__url__ = 'https://launchpad.net/ubuntu-bots/'
 
31
 
 
32
import config
 
33
reload(config)
 
34
import plugin
 
35
reload(plugin)
 
36
 
 
37
if world.testing:
 
38
    import test
 
39
 
 
40
Class = plugin.Class
 
41
configure = config.configure