Verifique se a discórdia mensagem é de vínculo python

Exemplos de código

2
0

como verificar se a mensagem incluir uma palavra discord.py

@bot.event
async def on_message(msg):
    if 'word' in msg.content:
        print('Keyword found')
        # Do stuff here
0
0

Detectar Word, em Seguida, Enviar a Mensagem (discord.py)

#New Event, prints oh wow if someone says wow
@client.event
async def on_message(message):

    if "wow" in message.content:
        await channel.send("oh wow")

#End of Event

Em outros idiomas

Esta página está em outros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................