-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
3,693 additions
and
1,466 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "frippy" | ||
version = "0.4.0" | ||
version = "0.5.0" | ||
authors = ["Jokler <[email protected]>"] | ||
repository = "https://github.com/Mavulp/frippy" | ||
readme = "README.md" | ||
|
@@ -16,48 +16,44 @@ doc = false | |
[features] | ||
mysql = [ | ||
"diesel", | ||
"diesel_infer_schema", | ||
"diesel_migrations", | ||
"dotenv", | ||
"r2d2", | ||
"r2d2-diesel" | ||
] | ||
|
||
[dependencies] | ||
irc = "0.13.4" | ||
log = "0.4.1" | ||
time = "0.1.39" | ||
humantime = "1.1.0" | ||
rlua = "0.12.2" | ||
reqwest = "0.8.5" | ||
regex = "0.2.6" | ||
lazy_static = "1.0.0" | ||
serde = "1.0.27" | ||
serde_json = "1.0.9" | ||
chrono = "0.4.0" | ||
irc = "0.13.6" | ||
log = "0.4.5" | ||
time = "0.1.40" | ||
humantime = "1.1.1" | ||
rlua = "0.14.2" | ||
reqwest = "0.9.0" | ||
regex = "1.0.5" | ||
lazy_static = "1.1.0" | ||
serde = "1.0.79" | ||
serde_json = "1.0.27" | ||
chrono = "0.4.6" | ||
glob = "0.2.11" | ||
failure = "0.1.1" | ||
circular-queue = "0.2.0" | ||
failure = "0.1.2" | ||
htmlescape = "0.3.1" | ||
antidote = "1.0.0" | ||
log4rs = "0.8.0" | ||
|
||
frippy_derive = { path = "frippy_derive" } | ||
htmlescape = "0.3.1" | ||
rand = "0.5.5" | ||
|
||
[dependencies.unicode_names] | ||
git = 'https://github.com/Jokler/unicode_names' | ||
branch = 'update-to-latest-unicode' | ||
|
||
|
||
[dependencies.diesel] | ||
version = "1.1.1" | ||
version = "1.3.3" | ||
optional = true | ||
features = ["mysql", "chrono"] | ||
|
||
[dependencies.diesel_infer_schema] | ||
version = "1.1.0" | ||
optional = true | ||
features = ["mysql"] | ||
|
||
[dependencies.diesel_migrations] | ||
version = "1.1.0" | ||
version = "1.3.0" | ||
optional = true | ||
features = ["mysql"] | ||
|
||
|
@@ -69,10 +65,6 @@ optional = true | |
version = "1.0.0" | ||
optional = true | ||
|
||
[dependencies.dotenv] | ||
version = "0.11.0" | ||
optional = true | ||
|
||
[dependencies.clippy] | ||
version = "*" | ||
version = "0.0.212" | ||
optional = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
# frippy [![Build Status](https://travis-ci.org/Mavulp/frippy.svg?branch=master)](https://travis-ci.org/Mavulp/frippy) | ||
Frippy is an IRC bot which is splits its functions into plugins. | ||
Frippy is an IRC bot which is splits its functionality into plugins. | ||
Currently it has plugins to: | ||
|
||
* Send the names of emojis used | ||
* Convert currencies with the help of [fixer.io](https://fixer.io/) | ||
* Send the titles of HTML pages linked | ||
* Get unicode information about characters | ||
* Send the titles of HTML pages linked | ||
* Create factoids with Lua support | ||
* Send messages to offline users when they join again | ||
* Store messages intended for offline users | ||
* Automatically change nickname when it is available again | ||
|
||
Check the config.toml file to get an idea of how to set the bot up. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ proc-macro = true | |
[dependencies] | ||
syn = "0.12.13" | ||
quote = "0.4.2" | ||
failure = "0.1.1" | ||
failure = "0.1.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Read https://docs.rs/log4rs/0.8.0/log4rs/file/index.html for more information on how to use this file | ||
refresh_rate: 5 minutes | ||
|
||
appenders: | ||
stdout: | ||
kind: console | ||
encoder: | ||
kind: pattern | ||
pattern: "[{d:35}](({h({l})})) {t} - {m}{n}" | ||
|
||
loggers: | ||
frippy: | ||
level: info | ||
appenders: | ||
- stdout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP TABLE events |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CREATE TABLE events ( | ||
id SERIAL PRIMARY KEY, | ||
receiver VARCHAR(32) NOT NULL, | ||
content TEXT NOT NULL, | ||
author VARCHAR(32) NOT NULL, | ||
time TIMESTAMP NOT NULL, | ||
`repeat` BIGINT UNSIGNED NULL | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP TABLE quotes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CREATE TABLE quotes ( | ||
quotee VARCHAR(32) NOT NULL, | ||
channel VARCHAR(32) NOT NULL, | ||
idx INTEGER NOT NULL, | ||
content TEXT NOT NULL, | ||
author VARCHAR(32) NOT NULL, | ||
created TIMESTAMP NOT NULL, | ||
PRIMARY KEY (quotee, channel, idx) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.