Jump to content

BananimusPrime

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by BananimusPrime

  1. Ah, so I was correct - it was entirely down to me having no idea what I'm talking about! Thank you very much for your help, that works perfectly now.
  2. Hey, this has been addressed a few times but being something of a simpleton that's making it up as he goes along I haven't been able to find an answer that I understand. I'm trying to create a workflow that will run a python command that deletes all messages from bots in a Slack channel. To do this I've installed 'slack-cleaner' through Python, and it works fine within Terminal. The problem is that when I try to run that in a script in an Alfred workflow, it says "line 1: slack-cleaner: command not found". I looked through a few posts on here and found a response from @deanishe that suggested I need to install the slack-cleaner library into my workflow. So, I right-clicked the workflow, opened in terminal and used the command he suggested in this other thread which was pip3 install --target . slack-cleaner. That seemed to work as I was then able to see the library in my workflow, but it still says it can't find the slack-cleaner command when I run it. I am very mildly knowledgeable, verging on idiocy so it's very likely I have no idea what I'm doing and haven't understood the suggestions correctly, but any advice would be greatly appreciated. Thanks! If it helps, the code I'm trying to run is below, with essential info redacted. slack-cleaner --token <TOKEN> --message --group <GROUPNAME> --bot --perform --as_user
×
×
  • Create New...