discord.py - Send messages though console
问题 ok, I wanted so I could send messages in an specific server and channel form the console. I seen on other post how to send messages on specific servers and channels but theyr from the discord app and not console. Can someone help me? I wanted so I type msg [server-id-here] [channel-name] [message] for example msg 493121776402825219 general hello Code I have but it has errors @bot.event async def on_ready(ch, *, msg): while msg: channel = bot.get_channel(ch) msg=input("Mensagem: ") if channel: