Got rid of try/except

pull/8/head
sgoudham 4 years ago
parent 987a204ff7
commit 81176ac1cd

@ -230,12 +230,9 @@ async def support(ctx):
"\n2) Note down your **User ID** and the **Guild ID** (You must have left this guild or are planning to leave)" + "\n2) Note down your **User ID** and the **Guild ID** (You must have left this guild or are planning to leave)" +
f"\n3) Join support server and notify me or use **{ctx.prefix}feedback** to notify me", False)] f"\n3) Join support server and notify me or use **{ctx.prefix}feedback** to notify me", False)]
try:
# Add fields to the embed # Add fields to the embed
for name, value, inline in fields: for name, value, inline in fields:
embed.add_field(name=name, value=value, inline=inline) embed.add_field(name=name, value=value, inline=inline)
except Exception as e:
print(e)
await ctx.send(embed=embed) await ctx.send(embed=embed)

Loading…
Cancel
Save