import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
type Slack = {
token: string;
};
export async function main(slack_auth: Slack, channel: string) {
const web = new WebClient(slack_auth.token);
let response = await web.conversations.join({
channel: channel,
});
return { response: response };
}
Submitted by hugo697 208 days ago
import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
type Slack = {
token: string;
};
export async function main(slack_auth: Slack, channel: string) {
const web = new WebClient(slack_auth.token);
let response = await web.conversations.join({
channel: channel,
});
return { response: response };
}
Submitted by hugo697 222 days ago
import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
type Slack = {
token: string;
};
export async function main(slack_auth: Slack, channel: string) {
const web = new WebClient(slack_auth.token);
let response = await web.conversations.join({
channel: channel,
});
return { response: response };
}
Submitted by hugo697 783 days ago
import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
type Slack = {
token: string;
};
export async function main(slack_auth: Slack, channel: string) {
const web = new WebClient(slack_auth);
let response = await web.conversations.join({
channel: channel,
});
return { response: response };
}
Submitted by admin 785 days ago
import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
type Slack = {
token: string;
};
export async function main(slack_auth: Slack, channel: string) {
const web = new WebClient(slack_auth.token);
let response = await web.conversations.join({
channel: channel,
});
return { response: response };
}
Submitted by hugo697 798 days ago
import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
type Slack = {
token: string;
};
export async function main(slack_auth: Slack, channel: string) {
const web = new WebClient(slack_auth);
let response = await web.conversations.join({
channel: channel,
});
return { response: response };
}
Submitted by admin 855 days ago
import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
type Slack = {
token: string;
};
export async function main(
slack_auth: Slack,
channel: string,
) {
const web = new WebClient(slack_auth);
let response = await web.conversations.join({
channel: channel,
});
return { "response": response };
}
Submitted by admin 858 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
export async function main(
slack_auth: wmill.Resource<"slack">,
channel: string,
) {
const web = new WebClient(slack_auth);
let response = await web.conversations.join({
channel: channel,
});
return { "response": response };
}
Submitted by adam186 984 days ago
import * as wmill from "https://deno.land/x/[email protected]/index.ts";
import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
export async function main(
slack_auth: wmill.Resource<"slack">,
channel: string,
) {
const web = new WebClient(slack_auth);
let response = await web.conversations.join({
channel: channel,
});
return { "response": response };
}
Submitted by adam186 986 days ago
import * as wmill from "https://deno.land/x/[email protected]/index.ts";
import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
export async function main(
slack_auth: wmill.Resource<"slack">,
channel: string,
) {
const web = new WebClient(slack_auth);
let response = await web.conversations.join({
channel: channel,
});
return { "response": response };
}
Submitted by adam186 1021 days ago
import * as wmill from "https://deno.land/x/[email protected]/index.ts";
import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
export async function main(
slack_auth: wmill.Resource<"slack">,
channel: string,
) {
const web = new WebClient(slack_auth);
let response = await web.conversations.join({
channel: channel,
});
return { "response": response };
}
Submitted by rossmccrann 1271 days ago