Skip to content

Commit

Permalink
last update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruvacube committed Mar 2, 2021
1 parent d0d3300 commit ee0633e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions botmain/discordbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,7 @@ async def on_message(message):
try:
if not guild.id == 747480356625711204:
e = discord.Embed(title=embed['title'],description=embed['description'] , color= 0x2ecc71)
if guild.icon:
e.set_thumbnail(url=guild.icon_url)
if guild.banner:
e.set_image(url=guild.banner_url_as(format="png"))
e.set_thumbnail(url='https://i.imgur.com/lwGawEv.jpeg')
await guild.system_channel.send(embed=e)
except: print('Tried but failed!')
await bot.process_commands(message)
Expand Down

0 comments on commit ee0633e

Please sign in to comment.