Nods and Nod Accessories.
Go to file
2021-07-20 16:23:30 -04:00
commands Ability to save phrases to .joint 2021-07-20 16:23:30 -04:00
gifs ability to cancel savegif 2021-07-19 16:01:57 -04:00
pastas Updating saving of copypastas 2021-07-16 10:01:44 -04:00
src ability to cancel savegif 2021-07-19 16:01:57 -04:00
.gitignore adding currently saved gifs 2021-07-09 18:01:42 -04:00
config.json Dynamic joint command 2021-07-19 16:01:27 -04:00
functions.js New handling of valid extensions and new gif and pasta lists 2021-07-19 14:54:08 -04:00
index.js New handling of valid extensions and new gif and pasta lists 2021-07-19 14:54:08 -04:00
package-lock.json Switching to Tenor for GIFs 2021-07-18 15:47:31 -04:00
package.json Switching to Tenor for GIFs 2021-07-18 15:47:31 -04:00
Procfile Setting up Heroku 2021-07-09 17:40:32 -04:00
README.md Merge branch 'dev' 2021-07-16 10:06:45 -04:00
ReleaseNotes.md New handling of valid extensions and new gif and pasta lists 2021-07-19 14:54:08 -04:00

NodBot

A simple Discord bot created by @voidf1sh#0420 for retreiving gifs, saving copypastas, and more coming soon.

Dependencies

NodBot depends on fs, discord.js, dotenv, giphy-api, and axios.

Features

Dynamic Help Message Ability to save favorite gifs and copypastas

Usage

All commands are provided as "file extensions" instead of prefixes to the message.

foo.gif -- Will return the first GIF for 'foo'
foo.savegif -- Will send the first GIF result for 'foo', with Reactions to browse the results and save the GIF
foo.savepasta -- Prompts the user for the copypasta text to save as 'foo.pasta'
foo.pasta -- If a copypasta by the name of 'foo' is saved, the bot will send it
foo.weather -- Returns the current weather in 'foo', where 'foo' is a city or ZIP code
foobar.spongebob - Returns 'FoObAr' aka SpongeBob text
.joint -- Puff, Puff, Pass.

To Do

DONE: Clean up text input for copypastas, line breaks and apostrophes break the bot. Add ability to reload commands, gifs, pastas, etc without rebooting the bot manually. DONE: Change savepasta to use a collector and ask for the name or the pasta. Add Stock quotes from Yahoo Finance API Add self-delete if wrongbad'd Move most string literals to config.json or strings.json for ease of editing. Make construction of the data element easier for the createEmbeds functions. Find a Cannabis API for strain information lookup.