Skip to content

Commit d5fb264

Browse files
authored
Merge pull request #8 from derogab/dev
v1.4.3
2 parents 0cfbf09 + 6abf372 commit d5fb264

File tree

5 files changed

+17
-13
lines changed

5 files changed

+17
-13
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<p align="center">
22
<img src="./assets/icon.png" width="140px">
33
</p>
4-
<h2 align="center">A clown bot to cheer up conversations in own university chat group</h2>
4+
<h2 align="center">A clown bot to cheer up conversations in own chat groups</h2>
5+
6+
### Birth
7+
This bot was born for fun purposes in my university group chat.
58

69
### Configuration
710
Copy `config.yml.tpl` template in `config.yml` with your info.
@@ -14,8 +17,9 @@ Copy `extra.js.tpl` template in `extra.js` to add extra features.
1417
```
1518
docker run \
1619
-dit \
20+
--restart=always \
1721
--mount type=bind,source=/path/to/host/private/,target=/bot/private \
18-
derogab/unisharebot
22+
derogab/clownbot
1923
```
2024
Replace `/path/to/host/private/` with absolute path to your private folder (containing config and extra).
2125
##### Using source
@@ -24,4 +28,4 @@ npm install && npm start
2428
```
2529

2630
### License
27-
`@unisharebot` 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: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
2-
"name": "unisharebot",
3-
"version": "1.4.2",
4-
"description": "unisharebot",
2+
"name": "clownbot",
3+
"version": "1.4.3",
4+
"description": "A clown bot to cheer up conversations in own chat groups",
55
"main": "bot.js",
66
"scripts": {
77
"start": "pm2 -o ./logs/debug.log -e ./logs/errors.log start bot.js",
88
"stop": "pm2 stop bot.js"
99
},
1010
"repository": {
1111
"type": "git",
12-
"url": "https://github.com/derogab/unisharebot.git"
12+
"url": "https://github.com/derogab/clownbot.git"
1313
},
1414
"keywords": [
1515
"bot",
16-
"unishare",
16+
"clown",
1717
"telegram"
1818
],
1919
"author": "derogab",
2020
"bugs": {
21-
"url": "https://github.com/derogab/unisharebot/issues"
21+
"url": "https://github.com/derogab/clownbot/issues"
2222
},
2323
"dependencies": {
2424
"fs": "0.0.1-security",

routes/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = function(bot, info, config, auth) {
4545
*/
4646
function source(ctx) {
4747
if(auth(ctx)) {
48-
ctx.reply("Puoi trovare il codice sorgente del bot su [github.com/derogab/unisharebot](https://github.com/derogab/unisharebot)", {
48+
ctx.reply("Puoi trovare il codice sorgente del bot su [github.com/derogab/clownbot](https://github.com/derogab/clownbot)", {
4949
parse_mode: "Markdown",
5050
disable_web_page_preview: false
5151
});

routes/inline_query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Inline Query
33
* =====================
4-
* If i write: <@unisharebot text> in groups or chats
4+
* If i write: <@BOT_USERNAME text> in groups or chats
55
*/
66
module.exports = function (bot, info, config, auth) {
77

0 commit comments

Comments
 (0)