1
Fork 0
mirror of https://github.com/RGBCube/minearchy-bot synced 2025-07-27 08:57:46 +00:00
This commit is contained in:
RGBCube 2022-12-17 21:55:26 +03:00
parent a4d6277e72
commit 40b06dca4f

View file

@ -83,7 +83,7 @@ class Utils(Cog):
deny.append(perm)
if allow or deny:
perms.append(f" {typ} {name}: {thing.id}")
perms.append(f" {typ} `{name}`: {thing.id if name != '@everyone' else ''}")
perms.append(" permissions:")
for a in allow:
@ -143,13 +143,13 @@ class Utils(Cog):
deny.append(perm)
if allow or deny:
child_perms.append(f" {typ} {name}: {child_thing.id}")
string.append(" permissions:")
child_perms.append(f" {typ} `{name}`: {child_thing.id}")
child_perms.append(" permissions:")
for a in allow:
string.append(f" {a}: ✅")
child_perms.append(f" {a}: ✅")
for d in deny:
string.append(f" {d}: ❌")
child_perms.append(f" {d}: ❌")
if child_perms:
string.append(" permissions:")
@ -195,7 +195,7 @@ class Utils(Cog):
deny.append(perm)
if allow or deny:
string.append(f" {typ} {name}: {thing.id}")
string.append(f" {typ} `{name}`: {thing.id if name != '@everyone' else ''}")
string.append(" permissions:")
for a in allow: