use logging instead of print
This commit is contained in:
parent
543c6c8bbe
commit
d981e41f05
2
pyircbot/modules/DuckHunt.py
Normal file → Executable file
2
pyircbot/modules/DuckHunt.py
Normal file → Executable 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
|
||||
|
Loading…
Reference in New Issue
Block a user