Radosław Wolnik commited on
Commit
89e328a
·
1 Parent(s): 5b34e20
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ async def respond_to_chat(message: str) ->str:
47
  parts = split_string(response)
48
  guild = discord.utils.get(bot.guilds, name="PrzebieralniaKoedukacyjna")
49
  channel = discord.utils.get(guild.channels, name=DEFAULT_CHATTER_CHANNEL)
50
- async for part in parts:
51
  await channel.send(part)
52
  return str("\n".join(parts))
53
 
 
47
  parts = split_string(response)
48
  guild = discord.utils.get(bot.guilds, name="PrzebieralniaKoedukacyjna")
49
  channel = discord.utils.get(guild.channels, name=DEFAULT_CHATTER_CHANNEL)
50
+ for part in parts:
51
  await channel.send(part)
52
  return str("\n".join(parts))
53