Giter Site home page Giter Site logo

slideintourdms's Introduction

slideIntoUrDMs

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.txt is where you put the token for your bot.

  • composer.json this includes the relevant discord-php library from the ever-fabulous Team Reflex! You should be able to cd to this directory and run composer install to get the required files. If you don't yet have composer, get it!! Ironically enough you get composer from https://getcomposer.org/!

  • default.css is the main style css from my site.

  • .gitignore to hide those pesky files, like your token and channel backlogs!~

  • images.js is 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.php and, 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.md ARRR be this file.

  • slideintourdms.php this here be the Discord bot! I'm running it by opening a new screen -xRR session and calling ./slideintourdms.php on my marvell.cat server!

Why channel_id instead of names?

It's a unique id that won't have conflicts between two different servers or channels

Why don't you show the server and channel name as a header-ish thing on the page?

TODO: Ya know, that's a great idea!! Maybe someday I'll find out how to convert a channel's UUID to that.

slideintourdms's People

Watchers

 avatar

Forkers

zedandredal

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.