title: How to make Json database distinct for each server?
body: <p>So i made a code for warns system, in server it works without issue but the warns are being transferred over to each of the server the bot is in, Plz advise how to make warns distinct for each server</p>
  <pre><code>@commands.has_permissions(manage_roles=True, ban_members=True)
  async def warn(ctx,user:discord.User,*reason:str):
    if reason==None:
      reason=&quot;Defying a Supreme Power&quot;
    else:
      reason = ' '.join(reason)
      for current_user in Warnlog['user']:
        if current_user['name'] == user.name:
          current_user['reasons'].append(reason)
          break
      else:
        Warnlog['user'].append({
          'name':user.name,
          'reasons': [reasons,]
        })
      with open('Warnlog.json','w+') as f:
        json.dump(Warnlog,f)
      a=discord.Embed(title=&quot;Warned&quot;,color=0x800000)
      a.add_field(name=f&quot;{user.name} has been warned&quot;,value=f&quot; **Reason:-** {reason}&quot;)
      await ctx.channel.send(embed=a)  
  
  @Client.command(manage_channels = True)
  async def infractions(ctx,user:discord.User):
    for current_user in Warnlog['user']:
      if user.name == current_user['name']:
        Op=discord.Embed(title=f&quot;**Warn list for {user.name}**&quot;,inline=True)
        Op.add_field(name=&quot;No. Of Warns Recived&quot;, value=f&quot;{len(current_user['reasons'])}&quot;,inline=True)
        Op.add_field(name='Warns', value=f&quot;{','.join(current_user['reasons'])}\n&quot;,inline=False)
        Op.set_thumbnail(url=f'{user.avatar_url}')
        await ctx.send(embed=Op)
        break
    else:
      Io=discord.Embed(title=&quot;**Warns**&quot;,description=f&quot;{user.name} hasn't commited a Warnable action(YET)&quot;)
      await ctx.send(embed=Io)  ```
  </code></pre>