Skip to content

Commit 347283c

Browse files
authored
Merge pull request #9 from derogab/dev
v1.4.4
2 parents d5fb264 + a8c67fc commit 347283c

File tree

4 files changed

+4
-35
lines changed

4 files changed

+4
-35
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ npm install && npm start
2828
```
2929

3030
### License
31-
`@clownbot` is made with ♥ by [derogab](https://github.com/derogab) and it's released under the MIT license.
31+
`clownbot` is made with ♥ by [derogab](https://github.com/derogab) and it's released under the MIT license.

package-lock.json

Lines changed: 1 addition & 16 deletions
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": "clownbot",
3-
"version": "1.4.3",
3+
"version": "1.4.4",
44
"description": "A clown bot to cheer up conversations in own chat groups",
55
"main": "bot.js",
66
"scripts": {

routes/commands.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,6 @@
55
*/
66
module.exports = function(bot, info, config, auth) {
77

8-
/**
9-
* Command: appunti
10-
* =====================
11-
* Send 'appunti' link
12-
*
13-
*/
14-
function appunti(ctx) {
15-
if(auth(ctx)) {
16-
ctx.reply("[Appunti](https://github.com/dlcgold/Appunti) by @dlcgold", {
17-
parse_mode: "Markdown",
18-
disable_web_page_preview: true
19-
});
20-
}
21-
}
22-
bot.command('appunti', appunti);
23-
248
/**
259
* Command: sponsor
2610
* =====================
@@ -73,7 +57,7 @@ module.exports = function(bot, info, config, auth) {
7357
*/
7458
function help(ctx) {
7559
if(auth(ctx)) {
76-
ctx.reply("Ecco alcuni dei comandi\n\n/start - messaggio di benvenuto\n/appunti - link agli appunti\n/sponsor - link per supportare il bot\n/source - link al codice sorgente del bot\n/version - versione del bot\n/help - lista comandi e suggerimenti\n\nE molte parole chiave che devi ancora scoprire :)\n\nVersion: "+info.version);
60+
ctx.reply("Ecco alcuni dei comandi\n\n/start - messaggio di benvenuto\n/sponsor - link per supportare il bot\n/source - link al codice sorgente del bot\n/version - versione del bot\n/help - lista comandi e suggerimenti\n\nE molte parole chiave che devi ancora scoprire :)\n\nVersion: "+info.version);
7761
}
7862
}
7963
bot.command('help', help);

0 commit comments

Comments
 (0)