platypus.py 268 B

12345678910
  1. import platform
  2. import socket
  3. from util import commands
  4. import version
  5. @commands(".platform")
  6. def platform_info(bot, message, channel):
  7. bot.say(channel, "I'm " + bot.NICK + ", running on python version " + platform.python_version() + ", on " + socket.getfqdn())