use logging instead of print

This commit is contained in:
dave 2014-11-23 15:02:59 -08:00
parent 543c6c8bbe
commit d981e41f05
1 changed files with 1 additions and 1 deletions

2
pyircbot/modules/DuckHunt.py Normal file → Executable file
View File

@ -60,7 +60,7 @@ class DuckHunt(ModuleBase):
self.bot.act_PRIVMSG(fromWho, "You've shot %s %s for a total weight of %s lbs." % (kills, self.config["animalSpeciesPlural"], weight))
self.bot.act_PRIVMSG(fromWho, "%s prime catches, %s runts, %s bullets used and %s misses." % (prime, runts, shots, misses))
#self.bot.act_PRIVMSG(fromWho, "More info & highscores: http://duckhunt.xmopx.net/")
print("DuckHunt: %s used !huntscore" % fromWho)
self.log.info("DuckHunt: %s used !huntscore" % fromWho)
return
# Channel only