Skip to content

Commit 6f934d5

Browse files
author
Insane Ray
authored
Merge pull request #2 from insane-ray/r-0.3.2
R 0.3.2
2 parents ddd0c8c + 5c32723 commit 6f934d5

File tree

7 files changed

+6
-10
lines changed

7 files changed

+6
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Options:
7676
type: "simple",
7777
helpInfo: "example of usage: '/joke'",
7878
phrases: [
79-
"{author}, may be your tell us one?",
79+
"{author}, may be you tell us one?",
8080
"Random decided, it's time {randomMember} to telling joke",
8181
"Most people are shocked when they find out how bad I am as an electrician"
8282
]

lib/bot-constructor.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/bot-constructor.js

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/bot-constructor.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "discord-bot-constructor",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "Simple bot constructor for discord, based on Discord.js",
55
"main": "lib/index.js",
66
"types": "lib",

src/bot-constructor.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,7 @@ export class BotConstructor extends BotBase {
108108
private runSimpleAction(message: Message, action: BotAction): void {
109109
this.getPhrase(message, action)
110110
.then(msg => {
111-
console.log('msg', msg);
112111
message.channel.send(msg)
113-
.catch(err => console.log(err));
114112
});
115113
};
116114

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
1919
// "composite": true, /* Enable project compilation */
2020
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
21-
// "removeComments": true, /* Do not emit comments to output. */
21+
"removeComments": true, /* Do not emit comments to output. */
2222
// "noEmit": true, /* Do not emit outputs. */
2323
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
2424
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */

0 commit comments

Comments
 (0)