Skip to content

Commit e6f073f

Browse files
authored
ksafjklsdfjs (#309)
* ksafjklsdfjs * run prettier
1 parent 967fc2f commit e6f073f

3 files changed

Lines changed: 4 additions & 9 deletions

File tree

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ receiver.router.get(
4141
receiver.router.post('/slack-invite', require('./endpoints/slack-invite'))
4242

4343
const defaultChannels = [
44-
'lounge',
44+
'lounge',
4545
'scrapbook',
4646
'ship',
4747
'welcome',
4848
'library',
49-
'happenings'
49+
'happenings',
5050
]
5151

5252
const getSuggestion = () => {
@@ -390,7 +390,7 @@ app.start(process.env.PORT || 3001).then(async () => {
390390

391391
/* DEVELOPMENT UTILITIES (uncomment to use) */
392392
const { setupCaveChannel } = require('./setup/cave-channel')
393-
// await setupCaveChannel(app)
393+
// await setupCaveChannel(app)
394394
})
395395

396396
setInterval(async function () {

interactions/startup.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@ function getEnv() {
66
return process.env.NODE_ENV === 'production' ? 'prod' : 'dev'
77
}
88

9-
109
async function startup() {
1110
await client.chat.postMessage({
12-
blocks: [
13-
transcript('block.text', { text: transcript('startup.message') }),
14-
],
11+
blocks: [transcript('block.text', { text: transcript('startup.message') })],
1512
channel: transcript('channels.bot-spam'),
1613
username: 'TUTORIEL',
1714
icon_url: transcript('startup.avatar'),

util/invite-user.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ async function inviteGuestToSlack({ email, channels, _customMessage }) {
3434
channels: channels.join(','),
3535
})
3636

37-
3837
const res = await fetch(`https://slack.com/api/users.admin.inviteBulk`, {
3938
headers,
4039
method: 'POST',
@@ -44,7 +43,6 @@ async function inviteGuestToSlack({ email, channels, _customMessage }) {
4443
return await res.json()
4544
}
4645

47-
4846
async function inviteUser({
4947
email,
5048
ip,

0 commit comments

Comments
 (0)