You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Valentijn f333befdea
Update README.md
2 years ago
.gitignore Moved shared stuff between log and logexisting over to shared_funcs module 3 years ago
LICENSE To reduce log clutter, additional directories are now made for years and 3 years ago
README.md Update README.md 2 years ago
config.yaml.example Save attachments, breaking change. Added discord invite to 3 years ago
log.py Moved shared stuff between log and logexisting over to shared_funcs module 3 years ago
logexisting.py Moved shared stuff between log and logexisting over to shared_funcs module 3 years ago
requirements.txt Moved shared stuff between log and logexisting over to shared_funcs module 3 years ago
run.py Negate log loading 3 years ago
shared_funcs.py Fix save_files 3 years ago

README.md

Panopticon

DEPRECATION NOTICE

This fork of Panopticon has officially been deprecated. Use Providence instead.

The reason for this is that Panopticon itself (the original) has been deprecated in favor of panopticon-2. As this version of panopticon is not suitable for my desires of logging, I opted to write my own logger.

OLD README

A user-focused message logger for Discord, a la the built-in logging present in many IRC clients.

Dependencies

  • Python 3.5 or greater
  • discord.py (rewrite branch)
  • pyyaml

Installation, setup, and usage

  • Clone the repo
  • Install the requirements pip install --user -r requirements.txt
  • Copy config.py.example to config.py and edit it
  • ./run.py

Attachment logging is possible, although it is disabled by default out of storage concerns. To turn it on, just flip change the setting in config.yaml . Attachment logging is done for both log.py and logexisting.py. Attachment logging may fail due to the attachment being deleted, this is logged to the console as a warning.

Modules

Panopticon comes with a module called logexisting.py. This module is not loaded in by default in the wrapper script for the very simple reason that it enables commands on the running account (if it is run under a user, this will function like a selfbot). If you desire to enable it, change the config file to enable it.

Enabling logexisting.py disables regular logging for that instance of panopticon for as long as it is on. This is to prevent interfering logs.

License

Panopticon is available under the terms of the BSD 3-clause license, which is located in this repository in the LICENSE file.

logexisting.py is licensed under the AGPLv3

Credits and Thanks

  • Megumi Sonoda (GitHub, Twitter)
  • Rapptz for discord.py
  • ihaveamac for his fork of panopticon (GitHub, Twitter)
  • Cubebag (Discord user) for serverarchive.py, which helped for a starting point for logexisting.py