Code Monkey home page Code Monkey logo

riddlebot's Introduction

RiddleBot

RiddleBot is a Discord bot that gives riddles, made using the Discord.Net library. The base bot code was made by following the guides available at the Discord Net Documentation Website. Originally conceptualised for the MediEvil Boards Discord server as Jack of the Green, a character who gives out riddles in the MediEvil game. This bot is basically a slightly less snarky and more generic version of my Jack bot.

How to use

  1. You will need to create a new application on the Discord Applications portal. You can follow the walkthrough available here.
  2. Then, you can download one of the releases available here on GitHub or download the source to compile the bot yourself.
  3. When initialising the bot, you will first be prompted to select a language and then you will be prompted for your bot token, which can be found in the Discord Applications portal under the Bot tab for your application.
  4. Congratulations, you should now have a running RiddleBot. If you want it running 24/7, considering various deployment options available or buying a Raspberry Pi for deployment.
  5. Enjoy!

Commands

The bot has the following commands available:

General

  • !intro - The bot will introduce itself.
  • !help - Prints some of the commands.
  • !give riddle - The bot will say a riddle, unless a riddle was already said previously.
  • !give new riddle - Gives a new riddle, even if a riddle was previously said.
  • !repeat riddle - Repeats the already given riddle.
  • !give clue - Gives a clue to the riddle (if available).
  • !guess - Follow this command up with your answer to the riddle to make a guess.
  • !give up - Ends current riddle.

Owner only

  • !give clues - Lists all the available clues at once.
  • !give answer - Answers the riddle.

What to contribute

All contributions are welcome! The bot especially needs the following:

  1. More riddles.
  2. Clues for riddles that have no clues.
  3. Translations into other languages.

All of the above can be accomplished by editing the Data.json and Riddles.json files.

riddlebot's People

Contributors

dependabot[bot] avatar rampantspirit avatar

Watchers

 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.