hex337 / alex-koin Goto Github PK
View Code? Open in Web Editor NEWA highly valued virtual currency
A highly valued virtual currency
The format would be:
@alex_koin move 3 koins from @Ziad Abdo to @yammine #{message}
A fun additional add would be an optional parameter for Alex to add a message of shame to be published on CCRichard.
Users need a way to find the hashes of their koins so that they can transfer them.
We need something basic for alexko.in, probably just the leaderboard?
Every person has 1 koin to create and give to someone else per week.
You cannot create the koin for yourself.
You cannot create more than 1 per week (calendar week, not rolling).
The week resets on Sunday.
This can use the existing create koin
command, but we will have to change the guards around it.
If a user tries to create more than the one koin, they should get a threaded error message.
Create a useful README so that others can get the project up and running.
Add functionality for mining Koin with a new feature for Quizzes.
Alex Koin can ask a question about AKC or Chime. Those who answer the question correctly will mine a koin.
This can be a central place for discussion about the user experience.
When a new user is added to a channel that koin_bot mine a Koin (or 3) for that user if they have never had a Koin before.
Mo people Mo better!
Need to make sure there's a way to see who's doing the best.
To make it easier to test in different environments, move the slack bot's id into an environment variable so that it's configurable per install.
$ mix test
Compiling 32 files (.ex)
== Compilation error in file lib/alex_koin/slack.ex ==
** (CompileError) lib/alex_koin/slack.ex:24: invalid literal nil in <<>>
(elixir) src/elixir_bitstring.erl:19: :elixir_bitstring.expand/6
(elixir) src/elixir_bitstring.erl:9: :elixir_bitstring.expand/4
(elixir) expanding macro: Kernel.<>/2
lib/alex_koin/slack.ex:24: AlexKoin.SlackRtm.handle_event/3
Add a few high level tests and circle ci integration to then push containers to docker hub.
For now, we probably just want to randomly pick from a few factoids:
Doesn't make sense to have to do that... so don't.
When someone is the recipient of a koin, the bot should let them know.
I would imagine something like this in a DM from the bot:
@user just transferred a koin to you with the memo 'memo here'
Syntax should probably be:
@alex_koin balance for @user
Add a help command that tells users the available commands that this bot can parse.
It should either thread the response or make the message private for the user who asked, and list all possible commands available to them.
display
needs to only work if it's the first word since it will eat your koin
create koin
should not require the for
destroy koin
should not require the for
We should update the messaging when the bot tries to send a DM to not add a "for"
We are not taking advantage of {:ok, } and {:error,} flow that can greatly simplify a lot of the flow control in elixir. Not trivial to fix now but we can start making inroads.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.