From ff655eecdd217b0fe7d6b24f91c8dc4ae390d794 Mon Sep 17 00:00:00 2001 From: bibin Date: Wed, 1 Apr 2020 00:50:17 +0200 Subject: [PATCH] small fixes --- src/werewolve-bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/werewolve-bot.py b/src/werewolve-bot.py index 405b726..cab7b2d 100644 --- a/src/werewolve-bot.py +++ b/src/werewolve-bot.py @@ -1,6 +1,5 @@ import os import discord -from enum import Enum from random import shuffle import asyncio from dotenv import load_dotenv @@ -402,7 +401,7 @@ class one_night: for d in dead: if isinstance(d.day_role.copy, Tanner): - await self.send(str(p) + " won a tanner") + await self.send(str(d) + " won a tanner") await self.send(":skull: " + ', '.join(str(d) for d in dead)) await self.send('\n'.join(":ballot_box " + str(p.tally) + " votes for " + str(p) + " who is " + str(p.day_role) + " (was " + str(p.night_role) + ") " for p in self.player_list))