small fixes

This commit is contained in:
Bibin Muttappillil 2020-04-01 00:50:17 +02:00
parent 16db9ec009
commit ff655eecdd
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
import os import os
import discord import discord
from enum import Enum
from random import shuffle from random import shuffle
import asyncio import asyncio
from dotenv import load_dotenv from dotenv import load_dotenv
@ -402,7 +401,7 @@ class one_night:
for d in dead: for d in dead:
if isinstance(d.day_role.copy, Tanner): 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(":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)) 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))