Edits history of script submission #15 for ' Set Channel Purpose (slack)'

  • deno
    One script reply has been approved by the moderators
    Ap­pro­ved
    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 352 days ago

  • deno
    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 367 days ago

  • deno
    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 928 days ago

  • deno
    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 929 days ago

  • deno
    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 942 days ago

  • deno
    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 999 days ago

  • deno
    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 1002 days ago

  • deno
    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 1128 days ago

  • deno
    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 1131 days ago

  • deno
    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 1166 days ago

  • deno
    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 1417 days ago

  • deno
    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 1418 days ago