Skip to content

BharathBala21/discord-file-host

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord File Host

Use Discord as your Free Storage Drive

Setup Instructions

1. Prerequisites

  • Node.js (v18 or higher recommended)
  • A Discord Bot Token and a Channel ID.

2. Discord Bot Setup

  1. Go to the Discord Developer Portal.
  2. Create a new application and add a Bot.
  3. Enable Message Content Intent under the Bot settings.
  4. Invite the bot to your server with Send Messages and Attach Files permissions.
  5. Create a dedicated channel and copy its Channel ID.

3. Installation

  1. Clone the repository:
    git clone https://github.com/BharathBala21/discord-file-host.git
    cd discord-file-host
  2. Install dependencies:
    npm install
  3. Configure Environment Variables:
    • Rename .env.example to .env.
    • Fill in your DISCORD_TOKEN and UPLOAD_CHANNEL_ID.

4. Running the App

# Start the server
node server.js

The app will be available here : http://localhost:3000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors