Skip to content

Commit

Permalink
Merge pull request #4 from rockerBOO/points
Browse files Browse the repository at this point in the history
Updating dependancies
  • Loading branch information
rockerBOO committed Dec 4, 2015
2 parents 9948abb + b7e53c4 commit 6ecb649
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 7 deletions.
43 changes: 42 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,52 @@ export TWITCH_USERNAME=

## Configuration for Channels

Configuration for channels are stored in `data/CHANNEL/`
Configuration for channels are stored in `data/#channel/`

* `data/rockerboo/commands.json`
* Commands list
* `data/rockerboo/config.json`
* Configuration options for the channel
* `data/rockerboo/aliases.json`
* Stores aliases for commmands

### `data/#channel/config.json`
```js
{
"messages": "on"
}
```

### `data/#channel/commands.json`
```js
{
"hello": ["say", "Hello"],
"help": ["say", "You need help"],
"follower": ["cmd", "follower"],
"followed": ["cmd", "followed"],
"flip": ["say", "(╯°□°)╯︵┻━┻"],
"song": ["cmd", "song"],
"highlight": ["cmd", "highlight"]
}
```


### `data/#channel/aliases.json`
```js
{
"bealight": "bealright",
"bot": "elirc",
"glacier": "theme",
"xfile": "xfiles",
"x-file": "xfiles",
"x-files": "xfiles",
"h": "help",
"playlist": "lastfm",
"coming": "getsmeeverytime",
"63": "speedlimit",
"soundslist": "soundlist",
"sounds": "soundlist",
"table": "flip",
"tableflip": "flip"
}
```
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ defmodule Blur.Mixfile do
{:poison, "~> 1.5"},
{:httpoison, "~> 0.7.2"},
{:lastfm, github: "rockerBOO/lastfm"},
{:dogma, "~> 0.0", only: :dev},]
{:dogma, "~> 0.0", only: :dev}]
end
end
10 changes: 5 additions & 5 deletions mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"con_cache": {:hex, :con_cache, "0.9.0"},
"dogma": {:hex, :dogma, "0.0.11"},
"exactor": {:hex, :exactor, "2.2.0"},
"exirc": {:git, "git://github.com/bitwalker/exirc.git", "211c434bd19c26c371912b047e9d7fe4ab72f975", []},
"exirc": {:git, "https://github.com/bitwalker/exirc.git", "c297a4f370b100d61364438d2e74d5abd125bf2a", []},
"exprintf": {:git, "git://github.com/parroty/exprintf.git", "5e71122ca40b0a9e0c8d4f57d64a8004b9d007ef", []},
"exquisite": {:hex, :exquisite, "0.1.4"},
"hackney": {:hex, :hackney, "1.3.1"},
"httpoison": {:hex, :httpoison, "0.7.2"},
"exquisite": {:hex, :exquisite, "0.1.5"},
"hackney": {:hex, :hackney, "1.3.2"},
"httpoison": {:hex, :httpoison, "0.7.5"},
"idna": {:hex, :idna, "1.0.2"},
"lastfm": {:git, "git://github.com/rockerBOO/lastfm.git", "f63b75e0ea979e5561b6114162f529724e16440a", []},
"lastfm": {:git, "https://github.com/rockerBOO/lastfm.git", "f63b75e0ea979e5561b6114162f529724e16440a", []},
"oauth2": {:hex, :oauth2, "0.1.1"},
"plug": {:hex, :plug, "0.13.0"},
"poison": {:hex, :poison, "1.5.0"},
Expand Down

0 comments on commit 6ecb649

Please sign in to comment.