Question: i have my bot on 2 servers, and once I want to count all members from 1 server he counts from both servers. Lets server 1 has 2 members, and server 2 has 3 members, result is 5 instead of 2(if i want to see how many members i have on server 1)

```
@client.event
async def on_message(message):
    if message.content.startswith('!count'):
        pom=0
        for guild in client.guilds:
            for member in guild.members:
                pom = pom + 1
        await message.channel.send("Number of people on server: " + str(pom))

```

Answer: 
You should edit your interface such that it is extending the props of the HTML `input` element:

```
interface MyComponentProps extends InputHTMLAttributes< HTMLInputElement>)  {
  // add other custom props
}

const MyComponent: React.FC<MyComponentProps> = (props) => (...)

```
You can explicitly cast it to `HTMLAttributes`

Declare an interface like union of component's props with HTMLAttributes

```
interface MyComponentProps = {}

const MyComponent: React.FC<MyComponentProps & HTMLAttributes>...

```

Detailed explanation you can find here:
<https://stackoverflow.com/a/40032869/4186110>