https://github.com/bastidood/quizzo

A Discord bot for creating quizzes.

https://github.com/bastidood/quizzo

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary

Keywords

discord discord-bot rust twilight-rs
Last synced: 6 months ago · JSON representation

Repository

A Discord bot for creating quizzes.

Basic Info
  • Host: GitHub
  • Owner: BastiDood
  • License: mit
  • Language: Rust
  • Default Branch: main
  • Homepage:
  • Size: 778 KB
Statistics
  • Stars: 5
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
discord discord-bot rust twilight-rs
Created almost 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

Quizzo

Quizzo is a Discord bot for making simple quizzes.

Development

This bot is powered by the Twilight library for the Rust programming language. Before running the bot, the following environment variables must be set:

Variable | Description | Required? | Default ------------ | ----------------------------------------------------------------------------------------- | :-------: | ------: PORT | Network port to bind to when launching the bot. | ✔ | PUB_KEY | Hex-encoded cryptograhpic public key provided by the Discord Developer Portal. | ✔ | APP_ID | Application ID provided by the Discord Developer Portal. | ✔ | BOT_TOKEN | Bot token provided by the Discord Developer Portal. | ✔ | PG_URL | URL at which the PostgreSQL instance is hosted. | ❌ | 5432

Once these are available, one may use Rust's built-in package manager Cargo to launch the bot.

```bash

Initalize the data/ folder for PostgreSQL

deno task init

Start the PostgreSQL instance

deno task db ```

```bash

Initialize the template database

deno task template

Instantiate the template

deno task create

Register the required commands

BOTTOKEN= GUILDID= deno task register

Start the bot!

PORT= APPID= PUBKEY= PG_PORT=5432 cargo run --release ```

Owner

  • Name: Basti Ortiz
  • Login: BastiDood
  • Kind: user
  • Location: Philippines

Just some dood hoping to make a career out of typing programming jargon to make stuff work.

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/test.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
Cargo.lock cargo
  • 172 dependencies
crates/db/Cargo.toml cargo
  • tokio 1.27 development
  • futures-util 0.3
  • serde 1
  • tokio-postgres 0.7