Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quotes Module #67

Open
Mocuto opened this issue Jul 22, 2014 · 3 comments
Open

Quotes Module #67

Mocuto opened this issue Jul 22, 2014 · 3 comments

Comments

@Mocuto
Copy link
Contributor

Mocuto commented Jul 22, 2014

A module for storing notable conversation quotes.

Command for adding a new quote:
!%commandName% %quote

Where %commandName refers to the name of the command and %quote refers to the desired quote. Quotes will be stored in Kurea's MongoDB/NEDB under the collection 'qoutes', with documents with the values:
{
id : COUNT of the collection 'quotes' at the time of insertion,
message : content of the quote
}

Command for retrieving a qoute:
!%commandName

Where %commandName refers to the name of the command. The quote retrieved will be a random entry in the collection.

@rahatarmanahmed
Copy link
Contributor

Don't manually use the db, use the api we have (look at MemoModule). And
maybe store the server and channel too, so you can only see quotes for that
channel. It'd be weird if you saw a random quote from Freenode.
On Jul 22, 2014 5:25 AM, "Mocuto" [email protected] wrote:

A module for storing notable conversation quotes.

Command for adding a new quote:
!%commandName% %quote

Where %commandName refers to the name of the command and %quote refers to
the desired quote. Quotes will be stored in Kurea's MongoDB/NEDB under the
collection 'qoutes', with documents with the values:
{
id : COUNT of the collection 'quotes' at the time of insertion,
message : content of the quote
}

Command for retrieving a qoute:
!%commandName

Where %commandName refers to the name of the command. The quote retrieved
will be a random entry in the collection.


Reply to this email directly or view it on GitHub
#67.

@seiyria
Copy link
Member

seiyria commented Jul 22, 2014

This could probably be covered by #64.

@rahatarmanahmed
Copy link
Contributor

I don't think so. It wouldn't work the same way.
On Jul 22, 2014 7:54 AM, "Kyle Kemp" [email protected] wrote:

This could probably be covered by #64
#64.


Reply to this email directly or view it on GitHub
#67 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants