Giter Club home page Giter Club logo

nitbit's People

Contributors

taijaq avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

kamzil

nitbit's Issues

Search and display file info

Methods

search.files

Search the files, primarily by the content. If more than one search term is provided, user and channel are also matched at a lower priority. Add in:channel to search within a channel or a private convo, and from:username to get messages by a user or a bot.

files.info

Gets information about a file by its ID. Since a user can't remember file IDs, we usesearch.files to get it. The call returns a file object, paging info and a list of comments.

Use

Turn the query parameters and call args of search.files into an easy-to-use command, which finds the file, notifies the user if there is more than one match, and then uses the file ID to automatically call files.info and present the desired result.

Add arguments to file listing

Method: files.list

Fetches a list of a team's files, including snippets, Google Docs and more.

TODO

  • Filter by user
  • Filter by channel id
  • Get files from a certain timeperiod
  • Filter by type

Set channel topic

Method: channels.setTopic

Create a command that sets the channel topic in Slack using the Slack API

Manage a channel

Methods

  • channels.create
  • channels.rename
  • channels.archive
  • channels.unarchive
  • channels.setTopic
  • channels.setPurpose

Use

Create a single command with clear arguments that allows the user the create, archive and edit information about a channel in an easy way

Chat history

Methods:

  • channels.history
  • im.history
  • mpim.history

Fetches a history of up to 100 messages from a channel or a private conversation. If there is more than that (has_more is true), you can fetch them by calling the method with no latest or oldest argument set, and then using paging as explained in the API docs.

List files

Method: files.list

Fetches a list of a Slack team's files, and shows the character and line count for each and total

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.