Skip to content

๐Ÿ—ƒ๏ธ Add, view, and manage files online using a Discord bot interface

Notifications You must be signed in to change notification settings

nightmono/discord-file-drive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

39 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ—ƒ๏ธ Discord File Drive

Add, view, and manage files online using a Discord bot interface.

Commands

/add [file] Adds a file

/view [file] View a file, images are embedded, file is from a dropdown

/remove [file] Remove a file, file is from a dropdown

/list List all files

/hello + $hello Returns bot latency

Features

  • Logging on every file drive action, incluing user name, id, and their action

Installation

Requirements

Make sure you have the following requirements:

  1. Pycord
  2. python-dotenv
  3. aiohttp
  4. aiofiles

All requirements can be installed using pip install py-cord python-dotenv aiohttp aiofiles

Setup

Create a .env file. Inside the file, create the key BOT_TOKEN with the value of your bot token.

Create a directory called drive. This is where all the drive files will be stored.

Running

To run the bot, run python3 bot.py.

TODO

  • Emojis
  • /source. /github, /code, or similar command
  • Logging to both stdout and file
  • Seperate drives for each user

About

๐Ÿ—ƒ๏ธ Add, view, and manage files online using a Discord bot interface

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages