GithubHelp home page GithubHelp logo

zevaryx / inquiry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from boredmancodes/janet

0.0 0.0 0.0 73 KB

An advanced poll bot with tonnes of customisation, and no voting blocks. Made by a man with an unhealthy obsession with polls

Python 99.07% Dockerfile 0.93%

inquiry's Introduction

Inquiry is a bot that makes polls. Nothing more nothing less. Featuring extensive customisation, all you need to do is ask the question.

Invite Inquiry

Powered by NAFF

image

So how do you use Inquiry?

Simply type /poll and name your poll. From here you can customise the poll to your needs.

Once customised, hit submit, and a modal will appear letting you add your options.

All polls have the following optional settings

  • Colour - What colour should the embed be?
  • Duration - How long can people vote in this poll?
  • Single_Vote - Only allow people to have 1 vote in the poll
  • Hide_Results - Hide the results of the poll until it has closed
  • Open_Poll - Allow people to add their own options to the poll
  • Thread - Create a thread for this poll
  • inline - Should the options be displayed in line (side-by-side)

Need a poll fast?

Use poll_prefab. These commands create a poll with pre-set options for you.

Currently, there are:

  • boolean - a poll with yes or no options
  • opinion - a poll with agree, neutral, disagree options
  • week - a poll with the days of the week

Made a mistake?

You can edit polls too, up until you close them. Simply use the edit_poll commands

Want to close the poll?

To automatically close polls, use the duration setting, otherwise just react to the poll with ๐Ÿ”ด

How do I self-host this?

While I won't go out of my way to make help you, I can appreciate wanting to host things yourself.

You'll need three things, redis, docker, and a token. The best part is docker can help with the first one.

For the token, create a file called .env. In it, put your token, like this

TOKEN=<token>

Fire up your redis server, and run the following command in this projects root dir

docker-compose up -d

Congrats, Inquiry is now running on your machine.

If you make something cool, please consider creating a PR here.

inquiry's People

Contributors

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