Discord !image upload from a folder
- A folder where screenshots are stored
- A discord bot token
- This Bot Script
- Python with discord.py
-
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
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 ^^
- Only files ending jpg, gif or png are uploaded.
- if the folder does't exist the bot won't add in the .json file.
if you have bugs or problem open an issue