
08.12.2022, 01:30
|
|
Участник форума
Регистрация: 17.03.2022
Сообщений: 146
С нами:
2190224
Репутация:
23
|
|
Сообщение от teresen
Попробуй это:
Код:
Код:
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)
Там допишешь свое, что нужно.
не работает
|
|
|