Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

Commit cc6a8a9

Browse files
author
luksireiku
committed
Another rewrite, I hope to finish this one.
1 parent 602ef62 commit cc6a8a9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+635
-4493
lines changed

.gitignore

+2-13
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,5 @@ docs/_build/
5656
# PyBuilder
5757
target/
5858

59-
tmp/
60-
config.json
61-
groups.json
62-
log.txt
63-
locale/weeabo.json
64-
data/config.json
65-
data/groups.json
66-
data/users.json
67-
data/reminders.json
68-
data/tags.json
69-
data/pins.json
70-
plugins/logger.py
71-
plugins/logbot.py
59+
bot.log
60+
bots/*.json

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DOCUMENTATION.md

Whitespace-only changes.

LICENSE

-340
Large diffs are not rendered by default.

README.md

+1-34
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,4 @@ It's still in development right now, so you may get crashes and features may not
44

55
**Polaris** which is licensed under the [GPLv2](LICENSE).
66

7-
**THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND**
8-
9-
# TODO
10-
* ~~Use queues for message inbox and outbox.~~
11-
* ~~Use objects.~~
12-
* ~~Add setup for first run to create config files.~~
13-
* ~~Run with both Telegram Bot API and Telegram-CLI.~~
14-
* Run both at the same time.
15-
* ~~Allow media messages.~~
16-
* ~~Allow replies.~~
17-
* ~~Allow markdown. (for Bot API)~~
18-
* ~~Allow inline mode (for Bot API)~~
19-
* ~~Change settings and language without restarting.~~
20-
* Implement languages.
21-
* Rewrite Groups plugin.
22-
* Implement group creation.
23-
* ~~Supergroup compatibility.~~
24-
* Bans and temporal bans.
25-
* Message of the Day.
26-
* Anti-spam.
27-
* ~~Kick by name, id, username and reply.~~
28-
* Rewrite Reminders plugin.
29-
* PM to notify.
30-
* Rewrite Pins plugin.
31-
* Improve performance
32-
* Fix pin overlapping.
33-
* ~~Rewrite Tags plugin.~~
34-
* ~~Store id and tag only.~~
35-
* ~~Set permissions with tags.~~
36-
* Set tags to groups.
37-
* Ignore by tag.
38-
* Ban by tag.
39-
* Tag multiple id.
40-
* Add Channels plugin.
7+
**THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND**

bots/sample.json.example

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"connector": "telegram-bot-api",
3+
"connector_token": "TOKEN",
4+
"api_keys": {
5+
"some_key": "some_value"
6+
},
7+
"command_start": "/",
8+
"owner": 12345678,
9+
"debug": true,
10+
"plugins": [
11+
"echo"
12+
]
13+
}

core/bindings.py

-152
This file was deleted.

core/bot.py

-163
This file was deleted.

0 commit comments

Comments
 (0)