Skip to content

mishl-dev/Discord-Uploader-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Uploader Bot

File Folder

This is a Discord bot that allows users to upload files to file hosting service directly from Discord. The bot is written in Python and uses the Discord.py and aiohttp libraries.

Installation

  1. Clone the repository:

    git clone https://github.com/mishalhossin/Anonfiles-discord-bot.git
    
  2. Install the required dependencies:

    pip install -r requirements.txt
    
  3. Create a .env file in the root directory of the project and add your Discord bot token:

    DISCORD_TOKEN=<your-discord-bot-token>
    
  4. Run the bot:

    python bot.py
    

Usage

The bot is triggered by /upload slash command command and a file attachment.

image

The bot will respond with a message indicating that it is processing the file and will then upload it to Anonfiles. Once the upload is complete, the bot will post a message with the file's URL and other information.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you have any suggestions or bug reports.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Upload files using discord and share with friends

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages