Skip to content

Instantly share code, notes, and snippets.

View beyera's full-sized avatar

Andrew Beyer beyera

View GitHub Profile
@beyera
beyera / purge_general_slack_channel.py
Created July 17, 2023 01:35
Remove all messages from #general on Slack
# pip install slack-cleaner2
from slack_cleaner2 import *
s = SlackCleaner('API_TOKEN')
# list of users
s.users
# list of all kind of channels
s.conversations
{ "notification": false }

Keybase proof

I hereby claim:

  • I am beyera on github.
  • I am firebeyer (https://keybase.io/firebeyer) on keybase.
  • I have a public key whose fingerprint is 0D90 2A4A 9D18 1269 D95B D621 B475 EE32 35FA CA75

To claim this, I am signing this object: