misc_reactions: better logging of loaded reactions
This commit is contained in:
parent
943e62fc31
commit
4a0d780b45
|
@ -57,7 +57,7 @@ class MiscReactionsPlugin(Plugin):
|
|||
# Normalize weights.
|
||||
total_weight = sum(weights)
|
||||
weights = list(map(lambda w: w / total_weight, weights))
|
||||
self.bot.log_d(f"Reactions: {reactions}")
|
||||
self.bot.log_d(f"Reactions: {[r.__name__ for r in reactions]}")
|
||||
self.bot.log_d(f"Reaction weights: {weights}")
|
||||
return reactions, weights
|
||||
|
||||
|
|
Loading…
Reference in a new issue