Skip to content

Commit

Permalink
メッセージを送信していなかった
Browse files Browse the repository at this point in the history
  • Loading branch information
hypermkt committed Jan 31, 2018
1 parent 9807424 commit 4553880
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/takosan.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ class Takosan {
this.name = options.name;
}

privmsg() {
privmsg(message) {
let client = axios.create({
baseURL: this.url
});

client.post('/privmsg', {
channel: this.channel,
message: this.message,
message: message,
name: this.name,
icon: this.icon
})
Expand Down
4 changes: 2 additions & 2 deletions takosan.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ class Takosan {
this.name = options.name;
}

privmsg() {
privmsg(message) {
let client = _axios2.default.create({
baseURL: this.url
});

client.post('/privmsg', {
channel: this.channel,
message: this.message,
message: message,
name: this.name,
icon: this.icon
}).then(function (response) {
Expand Down

0 comments on commit 4553880

Please sign in to comment.