Skip to content

Instantly share code, notes, and snippets.

Bill Pliske billpliske

View GitHub Profile
View slack-delete-files.js
function deleteFiles(types = 'all') {
let files = [];
function deleteFilesByTypes(types, page = 1) {
TS.api.call('files.list', {
types,
user: boot_data.user_id,
page
}, (a, data) => {
files = [...files, ...data.files];
You can’t perform that action at this time.