watchlist

command module
v0.0.0-...-d677359 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

README

watchlist

Description

A watchlist manager discord bot, written in go + sqlite3

Installation

# clone repo
git clone https://github.com/ttamre/watchlist.git

# set this environment variable to your discord bot token
export DISCORD_WATCHLIST_BOT_TOKEN=""

# build binaries
make

Usage

# run binary
./bin/watchlist

# help message (type this in a text channel that the bot has access to)
./watchlist help

Commands

Add an entry to your watchlist

./watchlist add <title> <category> <link?>

PARAMETER TYPE DESCRIPTION REQUIRED
title text title of the movie
category text one of (movie/show/anime)
link text link to a trailer/imdb/etc

Delete an entry from your watchlist

./watchlist delete <title> <category>

PARAMETER TYPE DESCRIPTION REQUIRED
title text title of the movie
category text one of (movie/show/anime)

View your watchlist

./watchlist view <sorting>

PARAMETER TYPE DESCRIPTION REQUIRED
sorting text one of (date/title/category)

Update the link for an entry

./watchlist update <title> <link> or ./watchlist update <title> <category> <link>

PARAMETER TYPE DESCRIPTION REQUIRED
title text title of the movie
category text one of (movie/show/anime)
newLink text link to a trailer/imdb/etc

Mark an entry as done

./watchlist done <title> <category>

PARAMETER TYPE DESCRIPTION REQUIRED
title text title of the movie
category text one of (movie/show/anime)

Rate an entry

./watchlist rate <title> <rating>> or ./watchlist rate <title> <category> <rating>

PARAMETER TYPE DESCRIPTION REQUIRED
title text title of the movie
category text one of (movie/show/anime)
rating int rating of the movie

Get a random entry from your watchlist

./watchlist random

Get a random entry from your watchlist

./watchlist help <command>

PARAMETER TYPE DESCRIPTION REQUIRED
command text command you need help with

Get the develper's contact info + source code

./watchlist contact

License

This project is licensed under the GNU v3 General Public License. For more information, see the LICENSE

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL