Giter Club home page Giter Club logo

josee9988 / daily-image-discord-bot Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 4.0 752 KB

A fun π—±π—Άπ˜€π—°π—Όπ—Ώπ—± π—―π—Όπ˜ πŸ€– that displays a π’“π’‚π’π’…π’π’Ž π’Šπ’Žπ’‚π’ˆπ’† from your Google Photos album every 12 𝒉𝒐𝒖𝒓𝒔 πŸ–ΌοΈ πŸ“Έ Surprise your server with a random image twice a day πŸ€—

Home Page: https://top.gg/bot/806274731245436960

License: Other

Shell 25.12% TypeScript 74.83% Procfile 0.05%
discord bot typescript javascript webscraping discord-js discord-bot discord-app discord-application bots

daily-image-discord-bot's Introduction

Daily Image Discord Bot


Issues GitHub pull requests

A simple bot that let you send daily random images from any public google photos album . πŸ€– This bot was made for fun purposes, "dimg" does not collect unnecessary data or sell anything to third parties. Feel safeπŸ›‘οΈ.

⚠️DISCLAIMER: The bot could not be installed anymore on more than 100 servers. The discord staff claimed that: "it's clear that you joined a number of servers inorganically in order to grow your bot and qualify for verification. Therefore, we cannot verify your bot" so I decided to leave it as is, and stop its development until the discord team decides to change its mind, because, obviously that what they are claiming is completely wrong and inaccurate⚠️.


Installation πŸš₯

  1. Add the bot to your serverπŸ€–
  2. Make sure the bot has permissions to write in the channel you selected or on the channel you are using to talk with the bot.
  3. The only users that are allowed to use the installation commands are the users with admin permissions.
  4. Use !dimg channel nameOfYourChannel to specify the channel where dimg will post the photos.
  5. Use !dimg albumlink linkOfYourPublicGooglePhotosAlbum to let the bot know where to find your photos.
  6. Enjoy. Every 12 hours a new random photo from your public GPhotos album will suddenly appear in your desired channel!

Commands πŸ”¬

Daily Image Discord Bot uses the prefix !dimg, so each command must be preceded by that prefix.

  1. help -> Displays the command list and the prefix.
  2. channel <nameOfYourChannel> -> This command tells the bot where to send the images. Make sure the bot has access and write permissions in that channel tho.
  3. albumlink <linkOfYourPublicGooglePhotosAlbum> -> This command tells the bot the link of your public Google Photos album.
  4. now -> If channel and albumlink are set, and you are typing the message from the specified channel, then it will force a photo to appear just now (it will not break the cron schedule, just forces an extra photo to appear now)
  5. sendmsg -> The message that will be sent when the image is sent.
  6. info -> Useful links (documentation/ owner contact).
  7. ping -> Displays bot latency and API latency.
  8. pong -> Replies pingπŸ€ͺ.
  • The commands !dimg channel, !dimg albumlink and !dimg now can only be executed by the server administrators (to avoid server trolls).

Built with πŸ› οΈπŸ”§


Daily Image Bot

Made with a lot of ❀️❀️ by @Josee9988

daily-image-discord-bot's People

Contributors

dependabot[bot] avatar josee9988 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

daily-image-discord-bot's Issues

[Bug] Posting same photos constantly

🐞 Bug Report

Describe the bug

*Posting same 10-20 photos instead of posting random photos out of few thousands


To Reproduce

  1. Put around 10k photos in album
  2. Link album with chat/channel
  3. after few days u will see photos repeats themselves most of the time or bot is using only first 20-100 photos
  4. See error

Expected behaviour

*Sending random photos


Media prove

NSFW

Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Added your bot to server


Additional context

Choose the daily time.

πŸš€ Enhancement Request

Is your enhancement request related to a problem? Please describe.

I would like if is it possible to choose the exact time to daily show the image. I'm using this to randomly choose the lead of our daily meeting, so if I can choose to be shown every day at 12am, it will be awesome.


Describe the solution you'd like

If I can choose the time of the day the image will be shown like 12am at every day except weekends.


Describe alternatives you've considered

Choosing the time will be great even if I can't choose to not to show in weekends.


Additional context

Thank your attention! And if is not possible thank you anyway! :)

[Bug] Validation

🐞 Bug Report

Describe the bug

  • I can't add this to discord due to verification issues on the makers side of things.

Is this a regression?


To Reproduce

  1. Add bot to server

Expected behaviour


Media prove


Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

Daily image doesn't show

Hello there, the bot works fine regarding commands and also posts a picture when the !dimg now is used, but it doesn't post the daily picture every 12 hours :(

Custom text

Hi :D

I wanted to know if u could add the possibility of including a custom text in the daily images, as well as the option of choosing the time and the number of messages that the iamges will be posted.

By the way, thanks for the bot, it has been very useful.

Not posting photos [Bug]

🐞 Bug Report

Describe the bug

  • Hi! I'm setting up the bot everything is working as in it's responding when i've been doing the set up commands however, despite responding when I complete the channel command it won't actually post a picture, when i attempt the now command its either ignored or says that i need to type the command in the previously chosen channel

Is this a regression?


To Reproduce


Expected behaviour


Media prove


Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.