I'm trying to run this code that will send the links which will be opened from a json file, so i don't have to manually put in.

```
@commands.command()
async def socials(self, ctx):
    with open('twit.json', 'insta.json', 'yt.json', "r") as f:
        data = json.loads(f.read())
        guildID = str(ctx.guild.id)
        insta = data[guildID]
        twit = data[guildID]
        yt = data[guildID]

    embed = discord.Embed(title = ctx.guild_name +' Socials', color = discord.Colour.blue())

    embed.add_field(name = 'Youtube', value = f'Subscribe to Our Youtube! \n{yt} ', inline = False)
    embed.add_field(name = 'Instagram', value = f'Follow Our Instagram! \n{insta}', inline = False)
    embed.add_field(name = 'Twitter', value = f'Follow Our Twitter! \n{twit}', inline  = False)

    embed.set_thumbnail(url=ctx.guild.icon_url)
    embed.set_footer(icon_url=ctx.guild.icon_url)

    await ctx.send(embed=embed)

```

This is my error message. Sorry if the problem is simple, I'm new to python.

```
  File "/home/pi/.local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
  File "/home/pi/Desktop/DIscord Team Bot Tem/cogs/socials.py", line 195, in socials
with open('twit.json', 'insta.json', 'yt.json', "r") as f:
TypeError: an integer is required (got type str)

```

And this is the full error message

```
Ignoring exception in command socials:
Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/pi/Desktop/DIscord Team Bot Tem/cogs/socials.py", line 195, in socials
    with open('twit.json', 'insta.json', 'yt.json', "r") as f:
TypeError: an integer is required (got type str)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 903, in invoke
await ctx.command.invoke(ctx)
  File "/home/pi/.local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 859, in invoke
await injected(*ctx.args, **ctx.kwargs)
  File "/home/pi/.local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: an integer is required (got type str) 

```