Edits history of script submission #23269 for ' List Custom Emojis (slack)'

  • bun
    One script reply has been approved by the moderators
    Ap­pro­ved
    import { WebClient } from "@slack/web-api"
    
    /**
     * List Custom Emojis
     * List the workspace's custom emojis as a `name → image URL` map (aliases map to `alias:<name>`). Built-in Unicode emojis are not included. Requires emoji:read on the connection.
     */
    export async function main(auth: RT.Slack) {
      const client = new WebClient(auth.token)
      return await client.emoji.list()
    }
    

    Submitted by hugo989 2 hours ago