Skip to content

JobFinderBot is a discord bot that helps you look for job on websites like Indeed and Monster.

License

Notifications You must be signed in to change notification settings

vyacheslav31/JobFinderBot

Repository files navigation

JobFinderBot

A discord bot that helps you look for jobs on websites like Indeed and Monster.

Work in Progress ...

Installation

Requirements

Dependencies

  • node.js v16 : Needed for interacting with DiscordJS v13.
  • dotenv : Used for loading credentials from the .env file.
  • discord.js : A popular NodeJS Discord API wrapper (https://discord.js.org/#/docs/main/stable/general/welcome).
  • axios : Axios is used for making requests to various job search APIs.
  • better-sqlite3 : Used for producing an in-memory database for fast retrieval of JobPostings and user registration.

Note:

An .env file must be present in the root directory of this project containing your Discord token and API credentials. See the example .env in the root directory.

Getting Started

git clone https://github.com/vyacheslav31/JobFinderBot.git
cd JobFinderBot
npm install

Environment

Replace all the # with your credentials and choose production or development

# Adzuna Credentials
ADZUNA_APP_ID=#
ADZUNA_APP_KEY=#

# Discord Credentials
DISCORD_CLIENT_ID=#
DISCORD_CLIENT_KEY=#
DISCORD_GUILD_ID=#
DISCORD_TOKEN=#

# General Env Vars
NODE_ENV={development:production}

Running the bot

npm run start

Control flow

This is the principal flow of the program and the main way that users will be interacting with bot. Each invocation of the post method follows this sequence diagram. jobfinderbot_controlflow_sequence_diagram

Support

I maintain this repository for free, if you find it in your ❤️ to support me, 🌟 this repo.

License

MIT License

Copyright (c) 2021 Vyacheslav Gorbov

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

JobFinderBot is a discord bot that helps you look for job on websites like Indeed and Monster.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published