Trying to find a way to make my tip bot work. What i'm looking for is a command line for actions like if any discord user reacts to "tip of the day" msg in specific channel with Any react, bot should send random tip msg to the discord user directly.
Currently this works as shown, key_word is "!tip" you write that in chat and bot replies. But i want bot to reply in DM to any disco user that reacts to a tip of the day. Also to be figured out how i set up tip of the day to be posted once per day lol
if any(word in msg for word in key_word): await message.channel.send(random.choice(tips))
Aucun commentaire:
Enregistrer un commentaire