New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

slack-selfbot

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-selfbot

npmnpm
Version
0.1.0
Version published
Weekly downloads
7
Maintainers
1
Weekly downloads
 
Created
Source

slack-selfbot

My silly selfbot for Slack that does some rather silly things :P

Setup

Slack user token:

  • Go to https://api.slack.com/apps
  • Click "Create New App"
  • Click "From a manifest"
  • Select the workspace you want to install the selfbot in
  • Paste the contents of manifest.json
  • Click "Next" and then "Create"
  • Head over to "Install app" under "Settings"
  • Click "Install to Workspace" and then "Allow"
  • Copy the "User OAuth Token" and paste it into .env as SLACK_XOXP

Slack selfbot cookie:

  • Open the Slack web app in your browser
  • Open the developer tools (usually F12 or right click then Inspect)
  • Go to the "Storage" tab and then "Cookies"
  • Click on "https://app.slack.com" and find the cookie named "d"
  • Copy the value of the cookie and paste it into .env as SLACK_COOKIE

You're done! :D

Usage

Install dependencies:

bun install

Run the selfbot:

bun index.ts

FAQs

Package last updated on 09 Jul 2026

Related posts