Skip to content

Commit

Permalink
feat: icon url and cat images
Browse files Browse the repository at this point in the history
  • Loading branch information
coltenkrauter committed Sep 9, 2024
1 parent 898697b commit a7be171
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42182,7 +42182,8 @@ class SlackClient {
const payload = {
blocks: batch,
channel,
icon_emoji: ':github_octocat:',
icon_url: 'https://github.com/krauters/github-notifier/blob/images/images/cat-phone.jpg?raw=true',
// icon_emoji: ':github_octocat:',
text,
unfurl_links: false,
unfurl_media: false,
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Binary file added images/cat-phone.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cat-phone2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/utils/slack/slack-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ export class SlackClient {
const payload = {
blocks: batch,
channel,
icon_emoji: ':github_octocat:',
icon_url: 'https://github.com/krauters/github-notifier/blob/images/images/cat-phone.jpg?raw=true',

// icon_emoji: ':github_octocat:',
text,
unfurl_links: false,
unfurl_media: false,
Expand Down

0 comments on commit a7be171

Please sign in to comment.