소스 검색

updated embed

baumsplitter41 4 달 전
부모
커밋
6fd8442fcb
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      VPD_BOT/main.py

+ 2 - 3
VPD_BOT/main.py

@@ -404,10 +404,9 @@ async def setup_rr(
     embed = discord.Embed(
         title=title,
         description=description,
-        color=discord.Color.red(),
-        picture=discord.File("https://i.imgur.com/7zKLm0q.png")
-
+        color=discord.Color.red()
     )
+    embed.set_image(url="https://i.imgur.com/7zKLm0q.png")
 
     try:
         await channel.send(embed=embed, view=PersistentRoleView())