To add slideIntoUrDMs to your server go to https://discordapp.com/oauth2/authorize?client_id=537524345665486849&scope=bot&permissions=384064
I'm a Discord bot that uses a modification of @marv3lls' good ol' slideshow & meme displaying script.
All my commands are prefaced with a tilde (~), such as ~help and ~link. I plan to expand those but if you just add me to a channel, I'll start building a list of images that are posted so you can use ~link and it will give you a link to the webpage on my server that you can go through a slideshow (using arrow keys or taps) of the images!
-
botToken.txtis where you put the token for your bot. -
composer.jsonthis includes the relevantdiscord-phplibrary from the ever-fabulous Team Reflex! You should be able tocdto this directory and runcomposer installto get the required files. If you don't yet havecomposer, get it!! Ironically enough you getcomposerfrom https://getcomposer.org/! -
default.cssis the main style css from my site. -
.gitignoreto hide those pesky files, like your token and channel backlogs!~ -
images.jsis the whole control script for managing images; I'll probably add a bunch of conditionals to it for when I'm on a/discord/URL. -
index.phpand, speaking of conditionals… I should probably tune this up more but I just stripped all the other slideshow code from elsewhere on my site. 😕 -
README.mdARRR be this file. -
slideintourdms.phpthis here be the Discord bot! I'm running it by opening a newscreen -xRRsession and calling./slideintourdms.phpon mymarvell.catserver!
It's a unique id that won't have conflicts between two different servers or channels
TODO: Ya know, that's a great idea!! Maybe someday I'll find out how to convert a channel's UUID to that.