Description

Brings search functionalities to Discord thanks to the Google Search API.

General Utility

QueryBot

Description

Bot that brings search functionalities to Discord thanks to the Google Search API.

Key Features

  • Global search.
  • Site search through the use of keywords.
  • Excludes NSFW results unless query is run of NSFW channels.

Technologies

Installation

  1. Install node.js
  2. Run the following command:
npm i

Configuration

The project requires a settings.ts file to be created. A settings.example.ts file exists with all the fields required. In order to generate a Discord authToken, follow this tutorial up to step 3.

Run

  1. Set up up your settings.ts (more information in the configuration section)
  2. Run npm start on a terminal to start the server.
  3. If not added already, add you bot to your server following the guide posted in the configuration section up to step 4.

Commands

Syntax Explanation Example
!qb about Displays information about the bot.
!qb help<br/>!qb ? Displays the bot's help.
!qb list<br/>!qb ls Displays all available keywords.
!qb set {keyword} {siteUrl} Sets a site keyword. !qb set yt youtube.com
!qb unset {keyword} Unsets a site keyword. !qb unset yt
!qb search {query}<br/>!qb s {query} Searches for the query on Google. !qb search discord bots
!{keyword} {query} Searches for the query on the site registered for the passed keyword. !yt GMM

Examples

Want to share QueryBot along with other bots? Click here to add it to a list!

All reviews (0)

Recent reviews (0)

3 invites this week

132 invites total

Prefix: !qb

Submitted: 07/23/2019

Approved: 07/23/2019

Edited: 01/07/2020

Tip: Sorting your searches by relevance give you more relevant results compared to other sorting options.