From bc12aa866e6d7f39304945217407405abc42a9fe Mon Sep 17 00:00:00 2001 From: bobloy Date: Tue, 25 May 2021 10:12:51 -0400 Subject: [PATCH] Fix formatting --- timerole/timerole.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/timerole/timerole.py b/timerole/timerole.py index b3fe843..0d62cf0 100644 --- a/timerole/timerole.py +++ b/timerole/timerole.py @@ -295,8 +295,11 @@ class Timerole(Cog): log.exception("Failed Adding Roles") add_results += f"{member.display_name} : **(Failed Adding Roles)**\n" else: - add_results += " \n".join( - f"{member.display_name} : {role.name}" for role in add_roles + add_results += ( + " \n".join( + f"{member.display_name} : {role.name}" for role in add_roles + ) + + "\n" ) for role_id in addlist: await self.config.custom( @@ -310,8 +313,11 @@ class Timerole(Cog): log.exception("Failed Removing Roles") remove_results += f"{member.display_name} : **(Failed Removing Roles)**\n" else: - remove_results += " \n".join( - f"{member.display_name} : {role.name}" for role in remove_roles + remove_results += ( + " \n".join( + f"{member.display_name} : {role.name}" for role in remove_roles + ) + + "\n" ) for role_id in removelist: await self.config.custom(