Git Product home page Git Product logo

discord-webhook-ip-logger's Introduction

Discord-Webhook-IP-Logger

This is a IP logger I made that sends the IP of the visitor of a website to Discord as an embed message.

Note 10-07-2023: I am currently working on a V2 version of the IP logger. To follow the updates Join the Discord!

Preview:

Example picture

Features

  • Grabs the IP of all page visitors (except for bots/crawlers).
  • Gets some basic information about the visitor's IP and browser.
  • Checks if the IP is a VPN (Not always 100% correct).
  • Gets the Geo Location of the visitor and also gives a Google Maps link.

The Setup

Step 1: Go into the settings of your Discord server, where you want the embeds to come trough.
Step 2: Click the 'Webhooks' tab and create a webhook for the channel of choice.
Step 3: After the webhook is created, copy the webhook link.
Step 4: Set the webhook url in Discord.php to the one you just copied.
Step 5: Copy the code of the index.php and paste is somewhere in your code.
The code will automatically run when the page loads.

Enjoy!

Help

If you need help with something you can always ask it in the Discord.
Join the Discord: https://discord.gg/JXRTSTyXrt

ko-fi

discord-webhook-ip-logger's People

Contributors

jeroenimo02 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

discord-webhook-ip-logger's Issues

Help

This is not really an issue its just can u help me where i should put the code i dont get where u put the code or how ot make it work
My dc is SleepyPolar#8985 pls add me and help me

undefined property

php 8.1

Warning: Undefined property: stdClass::$connection_type in /var/task/user/api/Discord.php on line 28

Warning: Undefined property: stdClass::$country in /var/task/user/api/Discord.php on line 35

Warning: Undefined property: stdClass::$countryCode in /var/task/user/api/Discord.php on line 36

Warning: Undefined property: stdClass::$regionName in /var/task/user/api/Discord.php on line 37

Warning: Undefined property: stdClass::$city in /var/task/user/api/Discord.php on line 38

Warning: Undefined property: stdClass::$zip in /var/task/user/api/Discord.php on line 39

Warning: Undefined property: stdClass::$lat in /var/task/user/api/Discord.php on line 40

Warning: Undefined property: stdClass::$lon in /var/task/user/api/Discord.php on line 41

Warning: Undefined property: stdClass::$countryCode in /var/task/user/api/Discord.php on line 45

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/task/user/api/Discord.php on line 45

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.