Giter Club home page Giter Club logo

rewrite-photopicker's Introduction

Photopicker

This is a rewrite of the rewrite version(branch) of my async branch photopicker Written to handle asynchronous compatibility with aiohttp requests, SQLite storage, and local image caching (spoiler alert, it never happened). This is likely to be the final version with the deprecation of discord.py

invite

Commands

[]Indicates required ()Indicates Options *Is an available alias ~Requires manage guild perms or added as an admin

Owner Commands - Not available in public bot

load [cog name] - Loads a cog you've uploaded, case sensitive.
unload [cog name] - Unloads a cog you have enabled, case sensitive.
reload [cog name] - Reloads a cog you've changed thats active, case sensitive.
echo (message) - Replies back in channel provided text.
vme - Displays info about the bot, version, server count, member count, uptime.
sts [message] - Changes the presence of the bot
ui [message] - Updates the <info> command text

Guild Owner Commands

setprefix [prefix] *sp - Set the prefix for the guild, if no prefix is provided it will spit the current prefix (works with mention)
invite *inv - Send the invite link to the channel

General Commands

album [link] [name] ~ *addalbum, aa - Add an album ex; album https://imgur.com/gallery/MnIjj3n a phone
deletealbum [name] ~ *delalbum,remalbum,da,ra - Delete an album ex; delalbum a phone
addadmin [name/mention] ~ *adda,admin - Adds an admin to the bot, can be a case sensitive name or mention
removeadmin [name/mention] ~ *remadmin,deladmin,deleteadmin - Removes and admin, same as addadmin
pickone [album] *p1,po,pick - Pick a random image from the album, if only one album it will not require an album name
albumlist *al,list - Lists all albums in the server
info - Displays custom text set by owner of the bot
set [content/title](message) ~ - Change the title/content from "I Chose..." "you asked.." can be blank
To set the content/title to the title/description from imgur use the setup below:
['album title', 'Album Title'] title must be set to one of those; ~set title album title
['description', 'Description'] content needs to be set to one of those; ~set content description

Requirements

python3.6+

discord.py==1.7.3
jthon==1.0.2
aiosqlite==0.17.0

And a json file under /data/config name 'startup.json'

{
    "config": {
        "discord_token": "Discord token here",
        "imgur_client_id": "client id here",
        "imgur_client_secret": "client secret here",
        "info": "what you want the info command to say here \n breaks are supported"
    }
}

Built With

  • Discord.py - a modern, easy to use, feature-rich, and async ready API wrapper for Discord.

Authors

License

This project is licensed under the The Unlicense - see the LICENSE.md file for details

Acknowledgments

  • Special thanks to stroupbslayen for the snippets and constant answers for stupid questions.

rewrite-photopicker's People

Contributors

sobieskicodes avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rewrite-photopicker's Issues

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.