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 206 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 220 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 781 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 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.token);
let response = await web.conversations.join({
channel: channel,
});
return { response: response };
}
Submitted by hugo697 796 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 853 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 856 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 982 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 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 1019 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 1269 days ago