Closed noway1987 closed 5 years ago
I forgot:
I'm able to query 1 user by case: 'username' but im not able to fetch a message as variable with a trigger like ! or maybe # or something else
This is more like MongoDB question. I'd suggest you ask on https://stackoverflow.com/ to get more help.
First i want to thank you for your great work!
I'm really new to node and everything around it. Since about 2 days im stuck. :(
What i'm trying to build is a query from a mongoDB an send the output as message. In detail:
In Text:
A user send a nick with an ! before as trigger. Query in Mongo will search for all entries matching the username (without -> !) Result will be sorted for the latest entry and the grouped output will be sent as Message. like: -username -might -date
I dont know what to do, i'm really so. Maybe im not getting the syntax right, or anything else ist wrong.
Please help me 🙈
Side node: im able to get the result i trying to archive with express + handlebars engine but this is different.