I want to ban users. Theirs username+discriminator are write in a .txt file line per line.

Exemple:

```
user#0123
user2#0123
user3#0123

```

But the function ban() work with the ID of the user.

So, I need to know how to "transphorm" the username+discriminator to user.id

My code start with that:

```py
    file = r'C:\Users\baron_btjit4i\Desktop\Autrebot\files\blacklist.txt'
    @commands.has_permissions(ban_members = True)
    @commands.command()
    async def banlist(self, ctx):
        with open(file, encoding='utf-8') as file_in:       

            for line in file_in:
                await ctx.guild.ban(line, reason='blacklist')

```

Thanks !