{"repo":"brainboxdotcc/triviabot","free":true,"listed":false,"github":"https://github.com/brainboxdotcc/triviabot","clone":"git clone https://github.com/brainboxdotcc/triviabot.git","description":"A Discord Trivia/Quiz bot with over 150,000 questions and lots of features!","language":"C++","stars":38,"topics":["bot","triviabot","discord-bot","cpp","mysql","cplusplus","cplusplus-17","linux","dpp","discord"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"TriviaBot, the discord bot with over 150,000 questions! This project contains the source code for the Brainbox.cc TriviaBot. Written in C++17 using the D++ library. It was originally FruitLoopy Trivia on irc.chatspike.net and i've been running this bot in some form since 2004. This source code repository is for reference and learning only as it won't work without a TriviaBot API key , which i'm not prepared to give out to people (no, this isn't \" open trivia database \"). Without this key, the bot will start, but will be unable to start any games, or retrieve any statistics or update the cache. Project and System status Service Status Listing Badges Supported Platforms Currently only Linux is supported, but other UNIX-style platforms should build and run the bot fine. I build the bot under Debian Linux 10. Dependencies cmake (version 3.16+) g++ (version 8.3+) D++ (10.0.18 or later) PCRE (whichever -dev package comes with your OS) MySQL Connector/C++ (1.1.12 or later from the MySQL community apt repository) fmtlib (8.1.1) spdlog (latest master branch) Setup 1. Build Source Code mkdir build cmake .. make -j8 Replace the number after -j with a number suitable for your setup, usually the same as the number of cores on your machine. 2. Setup Database You should have a database configured with the mysql schemas from the mysql-schemas directory. use mysqlimport to import this. Note that the database schema included only has the bare minimum tables to boot the client bot. There is no ","default_branch":null,"files":null,"tree":[],"storefront":"/r/brainboxdotcc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/brainboxdotcc/triviabot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}