nodbot/README.md

39 lines
1.6 KiB
Markdown
Raw Normal View History

2021-06-29 01:41:46 +00:00
# NodBot
A simple Discord bot created by @voidf1sh#0420 for retreiving gifs, saving copypastas, and more coming soon.
2021-07-16 01:53:21 +00:00
## Dependencies
NodBot depends on `fs`, `discord.js`, `dotenv`, `giphy-api`, and `axios`.
2021-07-06 21:37:29 +00:00
2021-06-29 01:41:46 +00:00
## Features
Dynamic Help Message
Ability to save favorite gifs and copypastas
## Usage
2021-07-16 01:53:21 +00:00
All commands are provided as "file extensions" instead of prefixes to the message.
2021-06-29 01:41:46 +00:00
2021-07-16 01:53:21 +00:00
```
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
2021-07-16 14:01:44 +00:00
foo.savepasta -- Prompts the user for the copypasta text to save as 'foo.pasta'
2021-07-16 01:53:21 +00:00
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.
```
2021-06-29 01:41:46 +00:00
## To Do
2021-07-21 17:47:52 +00:00
v3 TODO:
Create database for storage of gifs, pastas, joint phrases, etc.
Migrate to Discord.js v13 Beta
Implement Replies to messages
Implement buttons in lieu of Reacts
2021-07-16 14:01:44 +00:00
DONE: Clean up text input for copypastas, line breaks and apostrophes break the bot.
2021-07-16 01:53:21 +00:00
Add ability to reload commands, gifs, pastas, etc without rebooting the bot manually.
2021-07-16 14:01:44 +00:00
DONE: Change `savepasta` to use a collector and ask for the name or the pasta.
2021-07-16 01:53:21 +00:00
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.
2021-07-16 14:06:45 +00:00
Find a Cannabis API for strain information lookup.