mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-17 23:52:49 +01:00
commands: mention the VCS version as well
This commit is contained in:
parent
e226846446
commit
04e37ebd04
@ -1,7 +1,7 @@
|
|||||||
# commands.py: base PyLink commands
|
# commands.py: base PyLink commands
|
||||||
from time import ctime
|
from time import ctime
|
||||||
|
|
||||||
from pylinkirc import utils, __version__, world
|
from pylinkirc import utils, __version__, world, real_version
|
||||||
from pylinkirc.log import log
|
from pylinkirc.log import log
|
||||||
|
|
||||||
@utils.add_cmd
|
@utils.add_cmd
|
||||||
@ -112,7 +112,7 @@ def version(irc, source, args):
|
|||||||
"""takes no arguments.
|
"""takes no arguments.
|
||||||
|
|
||||||
Returns the version of the currently running PyLink instance."""
|
Returns the version of the currently running PyLink instance."""
|
||||||
irc.reply("PyLink version \x02%s\x02, released under the Mozilla Public License version 2.0." % __version__)
|
irc.reply("PyLink version \x02%s\x02 (in VCS: %s), released under the Mozilla Public License version 2.0." % (__version__, real_version))
|
||||||
irc.reply("The source of this program is available at \x02%s\x02." % world.source)
|
irc.reply("The source of this program is available at \x02%s\x02." % world.source)
|
||||||
|
|
||||||
@utils.add_cmd
|
@utils.add_cmd
|
||||||
|
Loading…
Reference in New Issue
Block a user