Giter Site home page Giter Site logo

5345663 / saucybot-discord2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sn0wcrack/saucybot-discord

0.0 0.0 0.0 888 KB

A discord bot that fills in the gaps for art sites without proper inline embeds.

License: MIT License

C# 99.35% Dockerfile 0.65%

saucybot-discord2's Introduction

SaucyBot

A discord bot that fills in the gaps for art sites without proper inline embeds.

GitHub Workflow Status Version License Support me on Patreon Discord Server

If you would like to add this bot to your server click here and authorize it through your discord account.

  • Currently, Supports:
    • ArtStation - Embeds up to X extra images (X is configurable, default 5)
    • Twitter - Embeds posts when native embeds fail
      • NOTE: May not always work as expected due to API rate limits
      • Will create an embed when Twitter fails to embed a Link itself
      • Will embed a video if it cannot be played natively in Discord
    • DeviantArt - Embeds main image or thumbnail, includes more information than built-in embed
    • Hentai Foundry - Creates embed as none exists for site.
    • Pixiv - Posts up to X images of the set (X is configurable, default 5)
      • Pixiv Ugoira - Uploads a video with correct framerate and frame-timing (Video format is configurable, requires ffmpeg)
    • FurAffinity - Creates image embed as none exists for site
    • Newgrounds - Creates embed for site as image isn't fully embedded, this also displays the rating the image has.
      • NOTE: Doesn't support embedding videos
    • e621 - Creates an embed similar to what discord embeds but with higher quality image and slightly more information
      • NOTE: This is disabled on live version as I think it doesn't add much right now
    • E(x-)Hentai - Creates an embed to preview cover art, title, current score, etc.
      • NOTE: Live version only supports e-hentai.org right now

Installation

Production Docker (recommended)

Prerequisites:

Windows, macOS and Linux

Save the following two files to the same folder, preferably named SaucyBot:

Ensure these are saved in the same folder and are saved as docker-compose.yml amd .env respectively.

I would also recommend ensuring the full file path to these files contains no spaces.

Open .env in a text editor of your choice and adjust the values based on the meaning of these values described on this page.

Please ensure that if you do not intend to use a site in your instance of the bot that you add that site name to the DISABLED_SITES environment value.

Once the .env file has been adjusted open a terminal in the location you have saved your docker-compose.yml and .env and run the following:

docker-compose up -d

You should see output to your terminal window indicating that is downloading the required docker images and starting them.

If you are on Windows or macOS, you can check how your instance is running inside the application called Docker Desktop under the Containers link in the left-hand sidebar.

Development Docker

Prerequisites:

Clone Repository

Run the following command:

docker-compose -f docker-compose.dev.yml up -d

Standalone

Prerequisites:

Clone Repository

Run the following commands:

yarn install
yarn start

FAQ

Question: There is terminology I don't understand, can you please explain it to me?

Answer: A list of terms I use relating to SaucyBot, Discord Bots or Discord itself can be found on this page

Question: Can I adjust the number of images embed by Pixiv or ArtStation?

Answer: Currently this is not supported if you are using the publicly hosted version of SaucyBot. This will be something that will hopefully be configurable in SaucyBot v2 when that is completed.

Question: Can I adjust the sites SaucyBot embeds on my server?

Answer: Currently this is not supported if you are using the publicly hosted version of SaucyBot. This will be something that will hopefully be configurable in SaucyBot v2 when that is completed.

Question: Can I have SaucyBot ignore certain channels?

Answer: This is not something SaucyBot needs to do itself and can be accomplished in Discord, you are able adjust the permissions on that channel and remove the SaucyBot groups permission to view that channel. If you have provided Administrator privileges to SaucyBot that override that value, I would highly suggest removing SaucyBot from any additional groups that provide it with escalated privileges it does not require.

Credits

JeremyRuhland:

saucybot-discord2's People

Contributors

sn0wcrack avatar goopypanther avatar dependabot[bot] avatar chooks22 avatar delphox avatar ikanimew avatar iirelu avatar

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.