import { WebClient } from "https://deno.land/x/[email protected]/mod.ts";
type Slack = {
token: string;
};
export async function main(
slack_auth: Slack,
channel: string,
purpose: string
) {
const web = new WebClient(slack_auth.token);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
}
Submitted by hugo697 223 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,
purpose: string
) {
const web = new WebClient(slack_auth.token);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
}
Submitted by hugo697 237 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,
purpose: string
) {
const web = new WebClient(slack_auth.token);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
}
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,
purpose: string,
) {
const web = new WebClient(slack_auth);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
}
Submitted by admin 800 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,
purpose: string
) {
const web = new WebClient(slack_auth.token);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
}
Submitted by hugo697 813 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,
purpose: string,
) {
const web = new WebClient(slack_auth);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
}
Submitted by admin 870 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,
purpose: string,
) {
const web = new WebClient(slack_auth);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
} Submitted by admin 873 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,
purpose: string,
) {
const web = new WebClient(slack_auth);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
} Submitted by adam186 999 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,
purpose: string,
) {
const web = new WebClient(slack_auth);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
} Submitted by adam186 1001 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,
purpose: string,
) {
const web = new WebClient(slack_auth);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
} Submitted by adam186 1036 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,
purpose: string,
) {
const web = new WebClient(slack_auth);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
} Submitted by rossmccrann 1288 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(channel: string, purpose: string) {
const web = new WebClient(slack_token);
await web.conversations.setPurpose({
channel: channel,
purpose: purpose,
});
return { message: "Successfully updated channel purpose" };
}
Submitted by rossmccrann 1289 days ago