camille-js's People
camille-js's Issues
-- gets automatically changed to โ in Slack which makes it difficult to use the karma decrement command.
A possible solution would be to also listen to โ
Camille should detect karma on message edits
This is a bit more complicated than at first glance, because there's currently not a way of knowing whether or not the edited message already triggered a valid karma update. So by adding this, it'd just be adding another different problem: false positives.
I'm not sure I want to do this feature at all because of that. Above pretty much all else, I want to avoid adding the possibility of false positives to @Camille. But I wanted to flag it here as something I've at least thought about and provide a place for discussion around it.
Camille should detect when someone makes a "++ is deprecated" joke and have a witty comeback or 2 on-hand
It is possible to give yourself Karma
Feature Request - Add Spotify playlist/jukebox support
@alexpersian linked to https://github.com/benchmarkstudios/slackbox as a thing that'd be nice to have in the Slack team. I think it'd be simple enough to use that as a source and implement a few commands on Camille that would replicate the functionality.
Feature Request - Make karma more friendly to new-comers
It was suggested (by @mochs in Slack) that new people joining may be intimidated by the karma scores of folks who've been in the community for a while and that it should show just the past 30 days or so of karma.
My idea for how to do this is to make the response to ++/--
show just the past 30 days of karma for that user, but still track the cumulative score. Then modify the karma top
command so that we have the ability to query for top all time, and top 30 days... maybe karma top
(unchanged) and karma hottest
which would show the just the past 30 days.
Add a timezone converter
It'd be cool to be able to say "@Camille: What is 17:00 PDT in UTC". There's probably a hubot plugin that does this already.
It'd also be cool if it could use info about Slack users to determine timezones on its own. But I don't know if that's possible yet.
Add a default response handler
I'd like to put together a list of catchall responses so that when somebody addresses her directly and it doesn't match as a command she responds with something colorful like:
- I'll get right on that...
- I know, right?!
- pffft!
- /shrug
Make Camille do her own github integration/announcements
Currently we have a separate Slack github integration set up for announcing activity in this repo. It occurred to me that there's probably a hubot script that does this that would be super simple to set up and then Camille can just do it herself and we wouldn't have to use up a valuable Slack integration for it.
A URL with -- or ++ in it will trigger the karma command
https://github.com/apple/swift-evolution#development-major-version--swift-30
was posted in #general and Camille responded with
//github.com/apple/swift-evolution#development-major-version ๐ (Karma: -1)`
Add a markov chain command
I want to have Camille start collecting everything she hears into a frequency table (as explained here). Maybe have this table separated out per #channel. Then add a "markov me [word]" command that will generate a Markov Chain starting with the given word for the channel the command originated from.
Make "get me a" work for _giving_ things to other people
Currently Camille only will get/give things to the user that asked for them. It'd be cool if you could say "@Camille: give @bugKrusha a coffee."
Tests!
It'd sure be nice to have some automated tests for Camille.
Add some special messages that fire off when someone gets their first karma
Karma Birthday ๐!
Mazel tov, it's your first karma!
etc
Update hubot-slack
The PR which let's hubot-slack @-mention users finally got merged! I need to update the lib and test it out!
Make a separate web service that can be hit to restart Camille
It'd also be nice to then make a slash command in Slack that hits that endpoint.
Camille should be able to scrape Apple documentation and give doc data for queries
I'm imagining a query like:
@camille doc NSString stringWithFormat
And then she'd either inline or snippet the doc text..
Returns a string created by using a given format string as a template into which the remaining argument values are substituted.
Declaration
OBJECTIVE-C
+ (instancetype)stringWithFormat:(NSString *)format
, ...
Parameters
format
A format string. See Formatting String Objects for examples of how to use this method, and String Format Specifiers for a list of format specifiers. This value must not be nil.
IMPORTANT
Raises an NSInvalidArgumentException if format is nil.
...
A comma-separated list of arguments to substitute into format.
Return Value
A string created by using format as a template into which the remaining argument values are substituted without any localization.
Discussion
This method is similar to localizedStringWithFormat:, but without localization. This is useful, for example, if you want to produce non-localized formatting which needs to be written out to files and parsed back later.
Availability
Available in OS X v10.0 and later.
...or (more easy) provide a link to that anchor on the page:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.