how do i accept multiple inputs for email?

You can create a list like ['ur', 'your', 'yor'], then you can loop through this list and check if one of them is in the message.content. So you can simply use this:

[await message.channel.send("*you're") for m in ['ur', 'your', 'yor'] if m in message.content]

or you can use

word_list = ['ur', 'your', 'yor']
for m in word_list:
    if m in message.content:
        await message.channel.send("*you're")
        return

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top