Skip to main content

Cleans messages from a discord channel older than a set time in days

Project description

DiscordMessageCleaner

PyPI version GitHub Sponsorship

Cleans messages from a discord channel older than a set time in days

Setup

pip install discord-message-cleaner

Run

discord_message_cleaner
  --token=<your_discord_bot_token>
  --channel_id=<your_discord_channel_id>
  --days=<number_of_days>

Docker

docker run -d \
  --name="DiscordMessageCleaner" \
  -e 'TOKEN=<your_discord_bot_token>'
  -e 'CHANNEL_ID=<your_discord_channel_id>'
  -e 'DAYS=<number_of_days>'
  rix1337/docker-discord-message-cleaner:latest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discord_message_cleaner-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discord_message_cleaner-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file discord_message_cleaner-0.1.0.tar.gz.

File metadata

  • Download URL: discord_message_cleaner-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for discord_message_cleaner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eb214b204e2ea1a23f6d5e24906470d02a30fe06bed3ea4ddbf959daebcaaeac
MD5 3b388de306bf4df464bde76100b4abde
BLAKE2b-256 13922a23b0d4bcbf374cdca50962438d1b0bf1991f4c1f4cd195f2e7de2659f3

See more details on using hashes here.

File details

Details for the file discord_message_cleaner-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for discord_message_cleaner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30cb95f6e471852cf172de6201a8c02da348839d8dd9cbddf2645a6270652439
MD5 93235ed4dbb2d576e6a1bacc4df5d39e
BLAKE2b-256 390ebbc78732531af2d9408c34d444a92f914345d671dc27aee32148936ae4c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page