Показать сообщение отдельно

  #2  
Старый 08.12.2022, 01:16
teresen
Новичок
Регистрация: 05.05.2022
Сообщений: 29
С нами: 2119359

Репутация: 8
По умолчанию

Попробуй это:

Код:





Код:
import discord
import asyncio
from discord.ext import commands

client = commands.Bot(command_prefix = ".", self_bot = True)
client.remove_command("help")

token = "token"

@client.event
async def on_message(message):
    channelId = message.channel.id
    if not channelId == (айди канала типа): return
    await message.add_reaction("🥶")

@client.command()
@commands.is_owner()
async def setReaction(ctx, channelId, reaction):
    if not ctx.message.channel.id == (айди канала типа): return
    @client.event
    async def on_message(message):
        if not message.channel.id == channelId: return
        await message.add_reaction(reaction)

client.run(token, bot = False)


Там допишешь свое, что нужно.
 
Ответить с цитированием