No need for if statement as @everyone is getting skipped anyways

pull/2/head
sgoudham 4 years ago
parent d01a4c0450
commit 75f4c81dcf

@ -36,13 +36,6 @@ class GetInfo(commands.Cog):
roles = "" roles = ""
# For each role that the user has (Skipping the first element as it's always going to be @everyone # For each role that the user has (Skipping the first element as it's always going to be @everyone
for role in mentions[1:]: for role in mentions[1:]:
# Make sure that @everyone is not included in the list of roles
if role == "<@&663651584399507476>":
# Don't add anything to the string
roles = ''
else:
# Add the role to the string # Add the role to the string
roles += role + ' ' roles += role + ' '

Loading…
Cancel
Save