Skip to content

cmd420/discord-invite-ip-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DISCORD INVITE IP LOGGER

Redirect IP logger using flask. Ideally hosted on replit.

Setup

pip install -r requirements.txt

Create a .env file

INVITE_LINK='<server invite>'
WEBHOOK_LINK='<webhook url>'

Flexibility

You can always add an IP lookup service by inheriting from IpLookup and adding lookup_ip function.


i.e

from services.ip_lookup import IpLookup

class YourLookupService(IpLookup):
    def __init__(self, ip_addr):
        self.ip_addr = ip_addr

    def lookup_up(self):
        # do your thing and return an embed field
        pass

then import and add your class to services.

Releases

No releases published

Packages

No packages published

Languages