lunarflu HF staff commited on
Commit
f42eedc
1 Parent(s): 69cdc49

recolor role additions/removal to green/red

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -258,7 +258,7 @@ async def on_member_update(before, after):
258
  else:
259
  moderator = "Unknown"
260
 
261
- embed = Embed(color=Color.orange())
262
  embed.set_author(name=f"{after} ID: {after.id}", icon_url=after.avatar.url if after.avatar else bot.user.avatar.url)
263
  embed.title = "Role Added"
264
  embed.add_field(name="User", value=after.mention, inline=True)
@@ -277,7 +277,7 @@ async def on_member_update(before, after):
277
  else:
278
  moderator = "Unknown"
279
 
280
- embed = Embed(color=Color.orange())
281
  embed.set_author(name=f"{after} ID: {after.id}", icon_url=after.avatar.url if after.avatar else bot.user.avatar.url)
282
  embed.title = "Role Removed"
283
  embed.add_field(name="User", value=after.mention, inline=True)
 
258
  else:
259
  moderator = "Unknown"
260
 
261
+ embed = Embed(color=Color.green())
262
  embed.set_author(name=f"{after} ID: {after.id}", icon_url=after.avatar.url if after.avatar else bot.user.avatar.url)
263
  embed.title = "Role Added"
264
  embed.add_field(name="User", value=after.mention, inline=True)
 
277
  else:
278
  moderator = "Unknown"
279
 
280
+ embed = Embed(color=Color.red())
281
  embed.set_author(name=f"{after} ID: {after.id}", icon_url=after.avatar.url if after.avatar else bot.user.avatar.url)
282
  embed.title = "Role Removed"
283
  embed.add_field(name="User", value=after.mention, inline=True)