Giter VIP home page Giter VIP logo

memeoff's People

Contributors

dependabot[bot] avatar r3w0p avatar

Stargazers

 avatar

Watchers

 avatar

memeoff's Issues

Competitive game element

  • An image is provided to all server members.
  • Members have to generate the best meme using the image provided (within some time limit / until members decide to end the round).
  • Members earn points based on how many reactions their meme submission was able to accumulate while the last round was active.

Can only run memeoff if within the same directory as run_discord.py

Description

When trying to run run_discord.py outside of the memeoff directory in which it is situated, PIL fails to load the necessary fonts from config.

I.e. when running...

/path/to/venv/bin/python3 /path/to/run_discord.py -token <token>

...instead of...

./venv/bin/python3 ./run_discord.py -token <token>

Traceback

Traceback (most recent call last): File "/path/to/run_discord.py", line 6, in <module> from meme import * File "/path/to/meme.py", line 6, in <module> FONT_ARIMO = ImageFont.truetype(FONT_ARIMO_PATH, 36) File "/path/to/venv/lib/python3.7/site-packages/PIL/ImageFont.py", line 852, in truetype return freetype(font) File "/path/to/venv/lib/python3.7/site-packages/PIL/ImageFont.py", line 849, in freetype return FreeTypeFont(font, size, index, encoding, layout_engine) File "/path/to/venv/lib/python3.7/site-packages/PIL/ImageFont.py", line 210, in __init__ font, size, index, encoding, layout_engine=layout_engine OSError: cannot open resource

Setup

  • OS: Raspberry Pi OS
  • Version: Source

Ability to edit memes

It can be frustrating when a meme doesn't work because of a syntax error. The bot should not delete messages trying to use it immediately. Instead, the messages should be left up for approximately 1 minute to give users a chance to edit their requests. The bot should regularly check for edits to these messages. If none have been made for the specified length of time, then the messages can be deleted as normal.

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.