瀏覽代碼

Syntax error

master
Rocketsoup 1 年之前
父節點
當前提交
36977cb1bb
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      rocketbot/cogs/logcog.py

+ 2
- 2
rocketbot/cogs/logcog.py 查看文件

@@ -292,9 +292,9 @@ class LoggingCog(BaseCog, name='Logging'):
292 292
 				if role not in before.roles:
293 293
 					added_role_names.append(role.name)
294 294
 			if len(removed_role_names) > 0:
295
-				changes.append(f'Removed roles: ~~**{"**~~, ~~**".joined(removed_role_names)}**~~')
295
+				changes.append(f'Removed roles: ~~**{"**~~, ~~**".join(removed_role_names)}**~~')
296 296
 			if len(added_role_names) > 0:
297
-				changes.append(f'Added roles: **{"**, **".joined(added_role_names)}**')
297
+				changes.append(f'Added roles: **{"**, **".join(added_role_names)}**')
298 298
 		if after.pending != before.pending:
299 299
 			pass  # not that interesting and probably noisy
300 300
 		if after.timed_out_until != before.timed_out_until:

Loading…
取消
儲存