Skip to content

Commit

Permalink
Remove deprecated slash commands
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Jul 7, 2023
1 parent 419b433 commit 63d9365
Show file tree
Hide file tree
Showing 4 changed files with 301 additions and 294 deletions.
54 changes: 27 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ _Every Slash command comes with a help message. For example, to learn to use `/s

-[`/airtable`](/src/interactions/airtable.js) Post the database links of a Slack user
-[`/address` `/leader-address`](src/interactions/address.js) Post the current user's address with a link to edit
-[`/stats @USER`](/src/interactions/stats.js) Get tagged user's meeting stats
-[`/stats #CHANNEL`](/src/interactions/stats.js) Get tagged channel's meeting stats
-[`/get`](/src/interactions/get.js) See a list of available promotions
- **** [`/stats @USER`](/src/interactions/stats.js) Get tagged user's meeting stats
- **** [`/stats #CHANNEL`](/src/interactions/stats.js) Get tagged channel's meeting stats
- **** [`/get`](/src/interactions/get.js) See a list of available promotions
- ****[`/get notion premium`](src/interactions/promos/notionPremium.js) Get a Premium Notion account
- ****[`/get adafruit discount`](src/interactions/promos/adafruitDiscount.js) Get a discount code for Adafruit
-`/report` File a misconduct report
- **** `/report` File a misconduct report
- ****`/som-report` Report a Slack user's behavior
- ****[`/promo`](src/interactions/promo.js) Renamed to `/get`

Expand All @@ -47,7 +47,7 @@ _**†** = deprecated_

_This excludes Slack guests, such as multi-channel or single-channel users._

- §[`/som-lookup`](src/interactions/som/lookup.js) Lookup who promoted a multi-channel guest to a full Slack user during the Summer of Making.
- **** §[`/som-lookup`](src/interactions/som/lookup.js) Lookup who promoted a multi-channel guest to a full Slack user during the Summer of Making.
- **** §`/som-invite` Invite a multi-channel guest for the Summer of Making.
- **** §[`/club-init`](src/interactions/clubInit.js) Become a club leader by creating a club

Expand All @@ -56,25 +56,25 @@ _**†** = deprecated_

#### Club leaders Δ

- Δ[`/club-address`](src/interactions/clubAddress.js) Post the current user's club address with a link to edit
- Δ[`/rename-channel`](src/interactions/rename.js) Rename your club channel
- Δ[`/slack-invite`](src/interactions/slack-invite.js) Get custom club Slack invite link & optionally invite an email to Slack
- Δ[`/moderate`](src/interactions/moderate.js) Use this command to moderate your club's community channel, first run `/moderate` to link the channel and then `/moderate <slack message link>` to delete an inappropriate message. WIP.
- Δ[`/meeting-add`](src/interactions/meetingAdd.js) Add a meeting to your club's stats
- Δ[`/meeting-remove`](src/interactions/meetingRemove.js) Remove a mis-recorded meeting
- Δ[`/meeting-list`](src/interactions/meetingList.js) Get a list of club meetings (useful for /meeting-remove)
- Δ[`/meeting-stats` `/stats`](src/interactions/stats.js) Get current user's meeting stats
-[`/stats @USER`](src/interactions/stats.js) Get tagged user's meeting stats
- [`/stats #CHANNEL`](src/interactions/stats.js) Get tagged channel's meeting stats
- Δ[`/orpheus-tutorial` `/meeting-tutorial`](src/interactions/tutorial.js)
- **** Δ[`/club-address`](src/interactions/clubAddress.js) Post the current user's club address with a link to edit
- **** Δ[`/rename-channel`](src/interactions/rename.js) Rename your club channel
- **** Δ[`/slack-invite`](src/interactions/slack-invite.js) Get custom club Slack invite link & optionally invite an email to Slack
- **** Δ[`/moderate`](src/interactions/moderate.js) Use this command to moderate your club's community channel, first run `/moderate` to link the channel and then `/moderate <slack message link>` to delete an inappropriate message. WIP.
- **** Δ[`/meeting-add`](src/interactions/meetingAdd.js) Add a meeting to your club's stats
- **** Δ[`/meeting-remove`](src/interactions/meetingRemove.js) Remove a mis-recorded meeting
- **** Δ[`/meeting-list`](src/interactions/meetingList.js) Get a list of club meetings (useful for /meeting-remove)
- **** Δ[`/meeting-stats` `/stats`](src/interactions/stats.js) Get current user's meeting stats
- **** [`/stats @USER`](src/interactions/stats.js) Get tagged user's meeting stats
- **** [`/stats #CHANNEL`](src/interactions/stats.js) Get tagged channel's meeting stats
- **** Δ[`/orpheus-tutorial` `/meeting-tutorial`](src/interactions/tutorial.js)
- Use `@orpheus forget` before running the command to restart the tutorial from scratch
- Δ[`/leader-add @USER`](src/interactions/leaderAdd.js) Add another Slack user as a leader for your club
- Δ[`/leader-list`](src/interactions/leaderList.js) Print out the Slack accounts of registered co-leads
-[`/get`](src/interactions/get.js) See a list of available promotions
- **** Δ[`/leader-add @USER`](src/interactions/leaderAdd.js) Add another Slack user as a leader for your club
- **** Δ[`/leader-list`](src/interactions/leaderList.js) Print out the Slack accounts of registered co-leads
- **** [`/get`](src/interactions/get.js) See a list of available promotions
- **** Δ[`/get zoom pro`](src/interactions/promos/zoom.js) Upgrade to a Zoom Pro account. Deprecated in favor of https://github.com/hackclub/slash-z
- **** Δ[`/get hack pack`](src/interactions/promos/hackPack.js) Add club to list of Hack Pack approved clubs
- Δ[`/get sticker envelope`](src/interactions/promos/stickerEnvelope.js) Order a sticker envelope for yourself or another slack user
- Δ[`/get stickermule`](src/interactions/promos/stickermule.js) Request credit on StickerMule
- **** Δ[`/get sticker envelope`](src/interactions/promos/stickerEnvelope.js) Order a sticker envelope for yourself or another slack user
- **** Δ[`/get stickermule`](src/interactions/promos/stickermule.js) Request credit on StickerMule
- **** Δ[`/get github grant`](src/interactions/promos/githubGrant.js) Request a $100 grant for your club, paid by GitHub
- **** Δ[`/club-card`](src/interactions/clubCard.js) Issue a credit card number for your club
- **** Δ[`/meeting-time`](src/interactions/meetingTime.js) Set the meeting time to get meeting notifications weekly
Expand All @@ -85,12 +85,12 @@ _**†** = deprecated_

#### Slack Owner/Admin ◊

-[`/announcement`](src/interactions/announcement.js) Send an announcement to all clubs in Airtable queued for announcements
-[`/announcement address`](src/interactions/announcement.js) See a list of the enqueued clubs
-[`/announcement status`](src/interactions/announcement.js) Get the number of successful messages sent / the total messages to send
-[`/announcement send`](src/interactions/announcement.js) Start sending announcements to enqueued clubs
-[`/announcement record`](src/interactions/announcement.js) Record a Slack message to the announcement buffer
-[`/som-promote @USER`](src/interactions/som/promote.js) Promote a multi-channel guest to a full Slack user.
- **** [`/announcement`](src/interactions/announcement.js) Send an announcement to all clubs in Airtable queued for announcements
- **** [`/announcement address`](src/interactions/announcement.js) See a list of the enqueued clubs
- **** [`/announcement status`](src/interactions/announcement.js) Get the number of successful messages sent / the total messages to send
- **** [`/announcement send`](src/interactions/announcement.js) Start sending announcements to enqueued clubs
- **** [`/announcement record`](src/interactions/announcement.js) Record a Slack message to the announcement buffer
- **** [`/som-promote @USER`](src/interactions/som/promote.js) Promote a multi-channel guest to a full Slack user.
- ****`/som-ban` Deactivate a Slack user

_Δ = club leader only_
Expand Down
189 changes: 189 additions & 0 deletions slack-manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
display_information:
name: orpheus
description: Howdy!
background_color: "#e42d42"
features:
bot_user:
display_name: orpheus
always_online: true
shortcuts:
- name: Test Flag post
type: message
callback_id: flag_comment
description: Flag this message for Community Team review
slash_commands:
- command: /address
url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
description: View/edit your address
should_escape: false
- command: /airtable
url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
description: Get user's Airtable record
usage_hint: (admin only)
should_escape: true
- command: /my-email
url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
description: Check what address is used by HQ
should_escape: false
# - command: /rename-channel
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Rename your club channel
# usage_hint: meme-academy
# should_escape: false
# - command: /meeting-list
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: See your club's record
# should_escape: false
# - command: /meeting-add
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Record a new meeting
# usage_hint: "[help]"
# should_escape: false
# - command: /meeting-time
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Shows future meeting dates
# usage_hint: "[help]"
# should_escape: false
# - command: /meeting-tutorial
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Learn how to use @orpheus
# should_escape: false
# - command: /leader-add
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Adds a leader to your club
# usage_hint: "@orpheus"
# should_escape: true
# - command: /leader-list
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: List all this channel's leaders
# should_escape: false
# - command: /orpheus-tutorial
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Learn how to use @orpheus
# should_escape: false
# - command: /announcement
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Send an announcement
# usage_hint: "[help]"
# should_escape: false
# - command: /club-address
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: View/edit your club's address
# should_escape: false
# - command: /meeting-remove
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Remove a meeting
# usage_hint: "[help]"
# should_escape: false
# - command: /get
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Get things from Hack Club
# usage_hint: "[help]"
# should_escape: true
# - command: /club-card
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Get your club's card nuber
# should_escape: false
# - command: /som-promote
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Promote SOM to full user
# should_escape: true
# - command: /som-lookup
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Lookup who promoted a guest
# should_escape: true
# - command: /som-ban
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Deactivates a user (admin only)
# should_escape: true
# - command: /club-init
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Starts a new club!
# should_escape: false
# - command: /meeting-stats
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: See club's meeting stats
# usage_hint: "[help]"
# should_escape: true
# - command: /stats
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Post club stats for user
# usage_hint: "[help]"
# should_escape: true
# - command: /slack-invite
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Get your club's custom Slack Invite link!
# should_escape: false
# - command: /moderate
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Use this command to moderate your club's community channel
# usage_hint: <slack message link>
# should_escape: false
# - command: /report
# url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
# description: Report misconduct
# should_escape: true
oauth_config:
redirect_urls:
- https://orpheus-bot-hackclub.herokuapp.com/oauth
scopes:
user:
- channels:history
- channels:write
- groups:history
- im:history
- mpim:history
- reactions:read
- users:read
- users:read.email
bot:
- calls:read
- calls:write
- channels:history
- channels:join
- channels:manage
- channels:read
- chat:write
- commands
- dnd:read
- emails:write
- files:read
- groups:history
- groups:read
- groups:write
- im:history
- im:read
- im:write
- mpim:history
- mpim:read
- mpim:write
- pins:write
- reactions:read
- reactions:write
- remote_files:read
- remote_files:share
- remote_files:write
- team:read
- users.profile:read
- users:read
- users:read.email
- users:write
- files:write
settings:
event_subscriptions:
request_url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
user_events:
- message.channels
bot_events:
- message.channels
- message.groups
- message.im
- message.mpim
- reaction_added
- user_change
interactivity:
is_enabled: true
request_url: https://orpheus-bot-hackclub.herokuapp.com/slack/receive
org_deploy_enabled: false
socket_mode_enabled: false
token_rotation_enabled: false
Loading

0 comments on commit 63d9365

Please sign in to comment.