
20.01.2024, 20:47
|
|
Постоянный
Регистрация: 15.09.2021
Сообщений: 396
С нами:
2453766
Репутация:
68
|
|
попробуй методами *message.content* и *message.channel.send*
JS:
Код:
import discord
from discord.ext import commands
config = {
'token': '',
'prefix': '$',
}
bot = commands.Bot(command_prefix=config['prefix'], intents=discord.Intents.default())
@bot.event
async def on_message(message):
if message.author != bot.user:
await message.channel.send(message.content)
bot.run(config['token'])
|
|
|