seawolf2357 commited on
Commit
8847c76
Β·
verified Β·
1 Parent(s): 7a21c4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,7 +34,7 @@ class MyClient(discord.Client):
34
 
35
  # μƒν˜Έ λŒ€ν™” κΈ°λŠ₯ μ•Œλ¦Ό
36
  channel = self.get_channel(int(os.getenv("DISCORD_CHANNEL_ID", "123456789012345678")))
37
- await channel.send("μ €λŠ” 이미지 생성을 μˆ˜ν–‰ν•  수 있으며, μƒμ„±λœ 이미지에 λŒ€ν•œ μ„€λͺ…을 ν•œκΈ€λ‘œ μ œκ³΅ν•˜κ³  μƒν˜Έ λŒ€ν™”λ₯Ό ν•  수 μžˆμŠ΅λ‹ˆλ‹€. '!image <ν”„λ‘¬ν”„νŠΈ>'λ₯Ό μ‚¬μš©ν•˜μ—¬ 이미지λ₯Ό μš”μ²­ν•˜μ„Έμš”.")
38
 
39
  async def on_message(self, message):
40
  if message.author == self.user:
@@ -58,7 +58,7 @@ class MyClient(discord.Client):
58
  await message.channel.send(
59
  f"<@{user_id}> λ‹˜μ΄ μš”μ²­ν•˜μ‹  μ΄λ―Έμ§€μž…λ‹ˆλ‹€.\n"
60
  f"μ‚¬μš©λœ μ‹œλ“œ: {used_seed}\n"
61
- f"λ²ˆμ—­λœ ν”„λ‘¬ν”„νŠΈ: {translated_prompt}",
62
  file=discord.File(image_path)
63
  )
64
  # 이미지 생성 ν›„ μ„€λͺ… 제곡 및 λŒ€ν™”
 
34
 
35
  # μƒν˜Έ λŒ€ν™” κΈ°λŠ₯ μ•Œλ¦Ό
36
  channel = self.get_channel(int(os.getenv("DISCORD_CHANNEL_ID", "123456789012345678")))
37
+ await channel.send("μ €λŠ” 이미지 생성을 μˆ˜ν–‰ν•  수 있으며, μƒμ„±λœ 이미지에 λŒ€ν•œ μ„€λͺ…을 ν•œκΈ€λ‘œ μ œκ³΅ν•˜κ³  μƒν˜Έ λŒ€ν™”λ₯Ό ν•  수 μžˆμŠ΅λ‹ˆλ‹€. 'ν”„λ‘¬ν”„νŠΈμ— ν•œκΈ€ λ˜λŠ” μ˜λ¬Έμ„ μž…λ ₯ ν•˜μ„Έμš”.")
38
 
39
  async def on_message(self, message):
40
  if message.author == self.user:
 
58
  await message.channel.send(
59
  f"<@{user_id}> λ‹˜μ΄ μš”μ²­ν•˜μ‹  μ΄λ―Έμ§€μž…λ‹ˆλ‹€.\n"
60
  f"μ‚¬μš©λœ μ‹œλ“œ: {used_seed}\n"
61
+ # f"λ²ˆμ—­λœ ν”„λ‘¬ν”„νŠΈ: {translated_prompt}",
62
  file=discord.File(image_path)
63
  )
64
  # 이미지 생성 ν›„ μ„€λͺ… 제곡 및 λŒ€ν™”