Discord's search bar leaves much to be desired when searching for files. Sure, you can search for files with has:file
, but you can't search by filename or file content. That's what haystackfs
aims to solve.
With haystackfs
, you can search for files by filename with a simple command: /search [filename]
!
Files you upload are immediately indexed so that you can search for files as soon as you send them.
Click here to add the bot to your server and click here to join the community.
Check out our site here!
Check out the self-hosting guide if you'd like to use the bot locally!
The bot supports supports slash commands! You can also use classic commands with fs!
(Ex. fs!all
).
/search [filename]
: Search for a file by its filename. Check out search options to narrow your search! (Also supports:fs!fsearch
,fs!s
,fs!search
,fs!fs
)/remove [filename]
: Remove the bot's access to files namedfilename
(Also supports:fs!remove
,fs!rm
)/delete [filename]
: Remove the bot's access to files namedfilename
AND delete their respective messages (Also supports:fs!delete
,fs!del
)
You can narrow your search by specifying options!
- File name: Searching for files by filenames is currently the cool part of discordfs, so this is the only required option in the option list.
- File type
- Author
- Channel
- Message Content (file content coming soon!)
- After / Before / During
Will I be able to search for files uploaded before the bot is added to the server?
YES! You should experience little to no delay between response times for files uploaded before vs. after the bot is added to a server.Will my files be shared with other servers?
Nope! Servers can only access content in itself, so your files will never be shared with other servers.Plz let me know if you encounter bugs! Feel free to create an issue on this repo, message me at dhrumilp15#4369
OR post in the server: (https://discord.gg/cp6Wv3peec)!