|
|
@ -295,8 +295,11 @@ class Timerole(Cog):
|
|
|
|
log.exception("Failed Adding Roles")
|
|
|
|
log.exception("Failed Adding Roles")
|
|
|
|
add_results += f"{member.display_name} : **(Failed Adding Roles)**\n"
|
|
|
|
add_results += f"{member.display_name} : **(Failed Adding Roles)**\n"
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
add_results += " \n".join(
|
|
|
|
add_results += (
|
|
|
|
f"{member.display_name} : {role.name}" for role in add_roles
|
|
|
|
" \n".join(
|
|
|
|
|
|
|
|
f"{member.display_name} : {role.name}" for role in add_roles
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
+ "\n"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
for role_id in addlist:
|
|
|
|
for role_id in addlist:
|
|
|
|
await self.config.custom(
|
|
|
|
await self.config.custom(
|
|
|
@ -310,8 +313,11 @@ class Timerole(Cog):
|
|
|
|
log.exception("Failed Removing Roles")
|
|
|
|
log.exception("Failed Removing Roles")
|
|
|
|
remove_results += f"{member.display_name} : **(Failed Removing Roles)**\n"
|
|
|
|
remove_results += f"{member.display_name} : **(Failed Removing Roles)**\n"
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
remove_results += " \n".join(
|
|
|
|
remove_results += (
|
|
|
|
f"{member.display_name} : {role.name}" for role in remove_roles
|
|
|
|
" \n".join(
|
|
|
|
|
|
|
|
f"{member.display_name} : {role.name}" for role in remove_roles
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
+ "\n"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
for role_id in removelist:
|
|
|
|
for role_id in removelist:
|
|
|
|
await self.config.custom(
|
|
|
|
await self.config.custom(
|
|
|
|