DIP-Bot is a Discord bot takes a directory of images and posts to a channel on an interval
Generate a new Discord bot token, only needs permission to send messages. Requires Python3
Clone this repository to your server
git clone https://github.com/lagliam/DIP-bot.git
Run
setup.sh-
Put your images in the
/imagesfolder -
Place token in
.envfile -
Update the variables in
.envfile with values to be used by the database -
Update the 'sqlalchemy.url' in
alembic.iniwith your database username and password
docker-compose up -dIn order to update the database to the correct state run the following
docker exec -it bot alembic upgrade headIn the channel you want DIP-bot to post to call the command to start posting.
Stops posting for the channel that it was called from
You can also get one image by calling this command
Delete the stored seen images file to allow previously seen images to be posted again
How many images to post at a time.
How many times per day split evenly to post.
Checks on the bot status by returning a message of "I'm Alive"
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.