Skip to content

Latest commit

 

History

History
97 lines (61 loc) · 1.67 KB

README.md

File metadata and controls

97 lines (61 loc) · 1.67 KB

1337x Logo

Unofficial Discord Bot

Description

  • Uses a 1337x Microservice (Nest.JS) and Golang to create a Bot that allows users to search for content such as Movies, Games, etc. and returning a relevant list of Torrents with their respective shortened magnet URLs, Names, Seeders and File Sizes.

Commands

// Search for a list of Torrents
.torrent <query>

// Display all available commands
.help

// Get the GitHub link to this project
.github

How to run via Azure VM with Terraform

Prerequisites

  • Install Terraform here

  • Install Azure CLI here

Login to your Azure Instance with a Subscription

az login

# or

az login --use-device-code

Go into /terraform/

  • Edit versioning.tf as instructed by the comments

  • Run these commands

terraform init
terraform apply

How to run using Docker

Pre-Requisites

  • Install Docker here

Clone repository

  • Clone the project by running:
git clone https://github.com/brandongallagher1999/1337x-Bot-Go/

Configuration File

touch config/config.yaml
  1. Edit config/config.yaml
discord:
  token: "<Your Bot's Token Here>"
  prefix: "."
  command: "torrent"
  maxLinksPerQuery: 10

Container

  • Go into root folder and run
docker-compose build
docker-compose up -d

Example / Usage

Image of the Bot Working Bot replying to Query with no results