some shit discord bot
Go to file
2024-08-19 12:10:07 -04:00
.env.example improve .env, also rename token line so it actually works lol 2024-05-19 03:04:14 +00:00
LICENSE first commit 2023-05-27 12:30:07 -04:00
Pipfile changed python version in pipfile, removed newlines in script 2023-06-07 16:40:51 -04:00
Pipfile.lock changed python version in pipfile, removed newlines in script 2023-06-07 16:40:51 -04:00
README.md update URL in instructions 2024-05-18 22:48:05 -04:00
requirements.txt remove unused module from requirements.txt 2023-05-28 03:50:12 -04:00
watchdog.py fucking moron forgot to update the other getenv variable 2024-08-19 12:10:07 -04:00

Watchdog

Discord bot that logs joins and leaves to a server's system messages channel.

Screenshot

Requires:

Installation:

This guide assumes you've downloaded Python 3.6 or later and added Python to PATH.

  1. Clone the repo.
    $ git clone https://git.supernets.org/nameless/watchdog
    $ cd watchdog
    
  2. Create a Discord bot account, grant the members intents, and invite the bot (guide)
  3. Rename the file .env.example to .env and fill it with appropriate values
    • If you can't find .env.example because it's hidden, enable hidden files on your operating system or create a new text file named .env, then copy the contents of this file and replace the placeholder with its respective value.
    • If you're on Windows and cannot save the file as .env, save it as .env. instead (this only applies to Windows!)
  4. Update pip, install pipenv, and install dependencies using pipenv
    $ pip install -U pip
    $ pip install pipenv
    $ pipenv install
    
    • pip and pipenv can also be managed by your system's package manager if preferred.
  5. Go to the Overview section in your server settings and set the system messages channel.
    • It is recommended to disable random welcome messages.
  6. Start the bot
    $ pipenv run watchdog