@bot.command(pass_context=True)
async def test(ctx):
msg = 'hello'
for server in bot.servers:
for channel in server.channels:
try:
await bot.send_message(channel, msg)
except Exception:
continue
else:
break
Подскажите, как исправить ошибку
@bot.command()
async def test(ctx):
msg = "hello"
for server in bot.guilds:
for channel in server.channels:
...