Skip to content

Felzow47/DIUFF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DIUFF

Sans titre

Discord !image upload from a folder

What you'll need

  • A folder where screenshots are stored
  • A discord bot token
  • This Bot Script
  • Python with discord.py

Getting started

  • You'll need to download and install Python,

  • download Main.py or clone the repo

  • Create a bot on discord dev portal

  • Add the bot to your discord server

  • Replace with your Discord bot token in client.run('YOUR TOKEN HERE')

  • Run Pip install discord in cmd

  • Run python .\Main.py

Usage

send !ajouter (yeah in french) and follow what the bot tell you(the bot is not translated yet so it's only in french but if the bot get ""popular"" probaly i will translate it) the bot will ask you for the name of the command and the folder path

send !image <name of the custom command you created earlier with !ajouter> in the channel where you want the image to be posted and wait ^^

Limitations/bugs

  • Only files ending jpg, gif or png are uploaded.
  • if the folder does't exist the bot won't add in the .json file.

Troubleshooting

if you have bugs or problem open an issue