3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00
This commit is contained in:
reality 2013-10-30 17:13:36 +00:00
parent f45084e01a
commit 39f36e146e
2 changed files with 3 additions and 2 deletions

View File

@ -3,5 +3,6 @@
"password": "yourpasswordhere", "password": "yourpasswordhere",
"dependencies": [ "link" ], "dependencies": [ "link" ],
"ignorable": true, "ignorable": true,
"dentQuotes": true "dentQuotes": true,
"api": "http://quitter.se/"
} }

View File

@ -21,7 +21,7 @@ var dent = function(dbot) {
new Buffer(username + ":" + password).toString("base64"); new Buffer(username + ":" + password).toString("base64");
request.post({ request.post({
'url': 'http://identi.ca/api/statuses/update.json?status=' + 'url': this.config.api + '/statuses/update.json?status=' +
escape(content), escape(content),
'headers': { 'headers': {
'Authorization': auth 'Authorization': auth