forked from slack-samples/deno-announcement-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.ts
25 lines (24 loc) · 806 Bytes
/
manifest.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { Manifest } from "deno-slack-sdk/mod.ts";
import AnnouncementDatastore from "./datastores/announcements.ts";
import DraftDatastore from "./datastores/drafts.ts";
import { AnnouncementCustomType } from "./functions/post_summary/types.ts";
import CreateAnnouncementWorkflow from "./workflows/create_announcement.ts";
export default Manifest({
name: "Announcement Bot",
description: "Send an announcement to one or more channels",
icon: "assets/icon.png",
outgoingDomains: ["cdn.skypack.dev"],
datastores: [DraftDatastore, AnnouncementDatastore],
types: [AnnouncementCustomType],
workflows: [
CreateAnnouncementWorkflow,
],
botScopes: [
"commands",
"chat:write",
"chat:write.public",
"chat:write.customize",
"datastore:read",
"datastore:write",
],
});