Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oze4/ugonnawin-slash-commands
Custom Slack Slash Commands
https://github.com/oze4/ugonnawin-slash-commands
Last synced: 2 months ago
JSON representation
Custom Slack Slash Commands
- Host: GitHub
- URL: https://github.com/oze4/ugonnawin-slash-commands
- Owner: oze4
- License: mit
- Created: 2019-06-16T17:26:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T19:58:36.000Z (about 2 years ago)
- Last Synced: 2023-03-03T22:23:45.328Z (almost 2 years ago)
- Language: JavaScript
- Size: 390 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ugonnawin-slash-commands
# Commands:
*anything enclosed in square brackets is a variable, ex: [this_is_a_variable]
- ### `/link [url]` -or- `/l [url]`
- Creates neat links instead of the default, bulky Slack unfurled links
- `/l [url]` is shorthand for `/link [url]`
- Example: `/link google.com`
- Example: `/l google.com`
- ### `/lb [url]`
- Creates links as buttons via Slack '[blocks](https://api.slack.com/reference/messaging/blocks)'
- Same as `/link [url]` or `/l [url]`, only the link is in the form of a button and overflow is cut off at 75 chars- ### `/weather [city] [zip] [city,CN] [zip,CN]`
- #### Use `/weather -h` for help!
- Where CN is a Country Code
- Takes a city name or zip code or city plus country code or zip plus Country Code
- No space allowed between city/zip and Country Code
- Must be separated by a comma - no spaces allowed between city/zip, comma, and Country Code- ### `/save [text]`
- Saves a message- ### `/getsaved`
- Returns all saved messages