Jak wysłać wiadomość w określonym kanale niezgody
channel = client.get_channel(12324234183172)
await channel.send('hello')
Dangerous Dog
channel = client.get_channel(12324234183172)
await channel.send('hello')
#1
message = ctx.send("text")
#2
message = channel.send("text")
#3
message = channel.fetch_message(messageid)
#add reaction to message
emoji = '\N{THUMBS UP SIGN}'
await message.add_reaction(emoji)
"""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')