Skip to content

Bricktech2000/Discord-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Asssistant

A Discord bot that automatically answers technical questions using the Wolfram|Alpha API

Overview

The following screenshot sumarizes the functionality of the bot.

Adding This Bot to Your Server

Adding this bot to your server allows you to get the functionality of this assistant withoug having to host it yourself.

Setup

  1. Click on the following link: https://discord.com/api/oauth2/authorize?client_id=888313324444463144&permissions=0&scope=bot
  2. Select the server you would like to add the bot to
  3. Click on Authorize

Hosting This Bot Yourself

Hosting this bot yourself is more involving, but allows you to customize it entirely.

Requirements

  • NodeJS 16.6+

Setup

  1. Get a Wolfram|Alpha API key through the developer portal by signing in from the API page
  2. Create a Discord Bot
    1. Go to the Discord Developer Portal
    2. Click on New Application
    3. Create an application called Discord Assistant
    4. Go to the Bot tab
    5. Click on Add a Bot
    6. Change the bot profile picture
    7. Copy the Bot Token, this will be used later
  3. Host the bot
    1. Clone this repository
    2. Install the necessary packages: npm install
    3. Run the program by passing the Wolfram|Alpha API key and the Discord Bot Token through command line parameters: cd src/ node . WOLFRAMALPHA_API_KEY DISCORD_BOT_TOKEN

Sharing

Below are the steps to get an invite link for your bot.

  1. Navitage to the Discord Developer Portal
  2. Head to the OAuth2 tab
  3. Select bot under OAuth2 URL Generator and copy the generated invite link.

Usage

Once invited to your server, simply ask a question in any channel to get an answer from the bot. If no answer is generated, it means Wolfram|Alpha didn't understand your query.

About

A Discord bot that automatically answers technical questions using the Wolfram|Alpha API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published