Skip to content

Discord bot for fansly creators to self host, offering role linking for subs/followers, notifications for post and livestreams.

License

Notifications You must be signed in to change notification settings

NotiFansly/CreatorBot

Repository files navigation

Discord Fansly Creator Bot

Warning

This is an unofficial Fansly bot for Discord that notifies users of new posts and when creators go live. This only works if the creator's profile has no viewing requirements or just requires being followed to view. No actual content is leaked via this bot when used with the provided bot link or when self-hosted with a basic following account.

Note

Self-hosted versions of the bot may display posts in servers if the account used is subscribed, but no actual photos or videos are displayed in the embed messages. Preview images/videos were planned but didn't work reliably, and we refused to send them as attachments.

Documentation

For complete setup guides and configuration instructions, visit our documentation:

📖 Full Documentation

Quick Start

Prerequisites

  • Go 1.24.4 or later
  • Discord bot application
  • Fansly account with valid token

Installation

# Clone the repository
git clone https://github.com/NotiFansly/CreatorBot && cd CreatorBot

# Create configuration file
cp .env-example .env

# Install dependencies and run
go mod tidy
go run .

# Or build and run binary
go build -v -ldflags "-w -s" -o notifansly ./cmd/fansly-notify/
./notifansly

Configuration

The bot requires both Discord and Fansly credentials in your .env file.

Discord Bot Setup

  1. Follow Discord's Developer Documentation to create a bot application
  2. Copy your Application ID, Bot Token, and Public Key to your .env file

Fansly Token

  1. Go to fansly.com and login
  2. Open developer tools (Ctrl+Shift+I / F12)
  3. Go to the Console tab and paste:
console.clear();
const activeSession = localStorage.getItem("session_active_session");
const { token } = JSON.parse(activeSession);
console.log('%c➡️ Authorization_Token:', 'font-size: 12px; color: limegreen; font-weight: bold;', token);
console.log('%c➡️ User_Agent:', 'font-size: 12px; color: yellow; font-weight: bold;', navigator.userAgent);
  1. Copy the displayed values to your .env file

Features

  • Post Notifications: Get notified when creators publish new content
  • Live Stream Alerts: Instant notifications when creators go live
  • Role Management: Automatic Discord role assignment for followers/subscribers (Creator Bot only)
  • Account Linking: Secure verification system for fans (Creator Bot only)
  • Tier-based Roles: Map Fansly subscription tiers to Discord roles (Creator Bot only)

Support

Need help? Join our support server: https://discord.gg/WXr8Zd2Js7

Disclaimer

Caution

Use at your own risk. The creator of this program is not responsible for any outcomes that may occur to the end user's account from using this program. This program is not affiliated with or endorsed by "Fansly" or Select Media LLC, the operator of "Fansly".

About

Discord bot for fansly creators to self host, offering role linking for subs/followers, notifications for post and livestreams.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors