cara mengirim pesan di saluran tertentu discord.py
channel = client.get_channel(12324234183172)
await channel.send('hello')
Dangerous Dog
channel = client.get_channel(12324234183172)
await channel.send('hello')
"""SEND MESSAGE IN SPECIFIC CHANNEL"""
@client.command()
async def announce(ctx, channel: discord.TextChannel):
await channel.send("My text")
channel = client.get_channel(12324234183172) #channel id here
await channel.send('hello')