GithubHelp home page GithubHelp logo

xevion / contest-assistant Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 154 KB

A bot dedicated to the Photographer's Lounge discord for assisting with photography contests.

Python 99.20% Mako 0.80%

contest-assistant's Introduction

contest-assistant

A somewhat simple but feature concentrated bot to automate photography contests.

Setup

git clone [email protected]:Xevion/contest-assistant.git
cd ./contest-assistant/
# Create a virtual environment if necessary
pip install -r requirements.txt
python main.py

Commands

Default prefix is $ or by mentioning the bot. Change it with the prefix command.

    advance [duration] [pingback = True]     
        Advance the state of the current period pertaining to this Guild.
    close
        Closes the current period.
    leaderboard
        Prints a leaderboard
    prefix <new_prefix>
        Changes the bot's saved prefix.
    status
        Provides the bot's current state in relation to internal config...
    submission <channel>
        Changes the bot's saved submission channel.

Features

  • Customizable prefix
    • Ensure 1-2 char length
    • Ensure ASCII
  • Adds upvote reactions automatically to the designated submissions channel
  • Removes regular messages
    • Remove Videos or Gifs
    • Regular Messages
  • Deletes user's previous submissions if they upload more than one per period.
    • Only tracks submissions per period - previous periods are ignored.
  • Removes user's previous reactions if they vote more than once.
  • Ignore/remove reactions added to non-submission message in the channel (preserve)
  • Calculates the winners automatically.
  • Handles submission removal
  • Automatically switches between periods if a duration is specified

contest-assistant's People

Contributors

xevion avatar

Watchers

 avatar  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.