Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hackclub/channel-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dispherical committed Sep 11, 2024
2 parents 5744a57 + 99a1807 commit 03eccc3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 122 deletions.
119 changes: 0 additions & 119 deletions buttons/local.js.disabled

This file was deleted.

2 changes: 1 addition & 1 deletion interactions/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = ({ app, client }) => {
await app.client.chat.delete({
channel: message.channel,
ts: message.ts,
token: process.env.SLACK_USER_TOKEN,
token: process.env.SLACK_BOT_TOKEN,
});
if (utils.blockedChannels.includes(message.channel)) return;

Expand Down
1 change: 0 additions & 1 deletion sections/20-featured.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ module.exports = {
render: async function ({ app }) {
return (text = `<#C75M7C0SY> - Introduce yourself to the community here
<#C0266FRGV> - Meet new people here
<#C06SBHMQU8G> - Every hour more power: Get rewarded with cool prizes for working on your own projects
<#C056WDR3MQR> - Free, powerful, and versatile compute infrastructure for all high school hackers!
<#C01504DCLVD> - Share awesome updates about your work-in-progess projects`);
},
Expand Down
2 changes: 1 addition & 1 deletion utils/redo.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = async function ({ app, client }) {
messages.map((message) =>
app.client.chat
.delete({
token: process.env.SLACK_USER_TOKEN,
token: process.env.SLACK_BOT_TOKEN,
channel: process.env.SLACK_CHANNEL,
ts: message?.ts,
thread_ts: message?.thread_ts,
Expand Down

0 comments on commit 03eccc3

Please sign in to comment.