0.3.2 • Published 5 years ago

autotrader-bot v0.3.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

AutoTrader Bot

A Discord chat bot for the online vehicle marketplace, AutoTrader (UK).

This bot was originally developed to demonstrate the AutoTrader Scraper package but is welcome to be edited and used by all under the GPL 3.0 license.

Installation

Install AutoTrader Bot via npm with the following:

npm i autotrader-bot --save
// yourscript.js
const AutoTraderBot = require('autotrader-bot')

Don't have node/npm installed? Get it here

Usage & Examples

Start your bot by creating a new AutoTrader Bot instance:

const AutoTraderBot = require('autotrader-bot')
// You MUST have a bot authentication token from the Discord developer portal
const BOT_AUTH_TOKEN = '****************'
const bot = new AutoTraderBot(BOT_AUTH_TOKEN)

If you do not understand what this token is or how to get it, see this page.