Skip to content

Commit 55f69c9

Browse files
committed
b
1 parent 90fc056 commit 55f69c9

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,8 @@ jobs:
123123
run: |
124124
wally publish --project-path ~/temp/metrik/ -v
125125
echo "All done!"
126+
127+
- name: Publish NPM Package
128+
run: |
129+
pnpm publish --access public
130+
echo "All done!"
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { IBroadcast, IData } from "../..";
2+
import { Http } from "../../../lib/http";
3+
import Icon from "@rbxts/topbar-plus";
4+
5+
export function broadcastTopbar(broadcast: IBroadcast) {
6+
const icon = new Icon();
7+
8+
icon.setLabel(broadcast.message);
9+
icon.setMid();
10+
11+
task.wait(broadcast.duration / 1000);
12+
13+
icon.destroy();
14+
}

0 commit comments

Comments
 (0)