Skip to content

Commit

Permalink
Deprecate deprecated promotions (#56)
Browse files Browse the repository at this point in the history
* Deprecate Adafruit discount

* :cooll-thumbs: to :cooll-dino:

* Remove period so it's consistent with the list

* Add README symbol

* Change Zoom Pro description

* deprecate hack pack
  • Loading branch information
exu3 authored Oct 18, 2021
1 parent 8203b5b commit a95cdd0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ _Every Slash command comes with a help message. For example, to learn to use `/s
-[`/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
- **** [`/get adafruit discount`](src/interactions/promos/adafruitDiscount.js) Get a discount code for Adafruit
-`/report` File a misconduct report
- ****`/som-report` Report a Slack user's behavior
- ****[`/promo`](src/interactions/promo.js) Renamed to `/get`
Expand Down Expand Up @@ -68,7 +68,7 @@ _**†** = deprecated_
- Δ[`/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 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 github grant`](src/interactions/promos/githubGrant.js) Request a $100 grant for your club, paid by GitHub
Expand Down
8 changes: 4 additions & 4 deletions src/interactions/get.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import { transcript, initBot } from '../utils'
//import * as githubGrant from './promos/githubGrant'
import * as hackPack from './promos/hackPack'
// import * as hackPack from './promos/hackPack'
import * as stickerEnvelope from './promos/stickerEnvelope'
// import * as notionPremium from './promos/notionPremium'
import * as stickermule from './promos/stickermule'
import * as adafruitDiscount from './promos/adafruitDiscount'
// import * as adafruitDiscount from './promos/adafruitDiscount'
import * as zoom from './promos/zoom'
import * as replitHackerPlan from './promos/replitHackerPlan'

const promos = [
stickerEnvelope,
// notionPremium,
stickermule,
hackPack,
// hackPack,
//githubGrant,
replitHackerPlan,
adafruitDiscount,
// adafruitDiscount,
zoom,
]

Expand Down
2 changes: 1 addition & 1 deletion src/interactions/promos/stickerEnvelope.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import interactionTutorial from '../tutorial'
import interactionAddress from '../address'

export const names = ['Sticker Envelope']
export const details = 'Available to active club leaders.'
export const details = 'Available to active club leaders'
export async function run(bot, message) {
const creator = await getInfoForUser(message.user)

Expand Down
2 changes: 1 addition & 1 deletion src/interactions/promos/zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getInfoForUser, airFind, airPatch, transcript } from '../../utils'

export const names = ['Zoom Pro', 'zoom', 'zoompro']
export const details =
'Available for one club leader at each club (the point of contact). They can add their co-leaders and members to their account.'
'Available to all clubs and anyone on the Slack'
export async function run(bot, message) {
const { user } = message
const { leader, club } = await getInfoForUser(user)
Expand Down
4 changes: 2 additions & 2 deletions src/utils/transcript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ hi:
- hiiiiiiiiiii!!!!!!!
- hELLLOOOOOOOOOOOO
- wasup?
- ":cooll-thumbs:"
- ":cooll-dino:"
- ":hyper-dino-wave:"
thanks:
- you're welcome!
Expand Down Expand Up @@ -499,7 +499,7 @@ promos:
- dollaringos
- ezBUCKS
get:
help: 'Get stuff from Hack Club. Try \`/get Free Notion\`'
help: 'Get stuff from Hack Club. Try \`/get Replit\`'
list: Here's the list of things you can get ${this.promos.map(p => this.t('get.bullet', { p }))}
bullet: \n- \`/get ${this.p.names[0]}\` _${this.p.details}_
som:
Expand Down

0 comments on commit a95cdd0

Please sign in to comment.