Commit Graph

48 Commits

Author SHA1 Message Date
Stan James
68aa8b85b8 Move notification chat to end of function
...So if notification channel is not set up right, it doesn't stop blocking from happening.
2018-06-28 11:54:17 -06:00
Stan James
7874dbfbfe syntax fix 2018-06-28 11:23:34 -06:00
Stan James
b2460d8e3a better handling of debug setting 2018-06-28 11:22:23 -06:00
Stan James
a0e3922bed Added better logging output. 2018-06-28 10:45:17 -06:00
Josh Fraser
4f49ecc3ef adding issue and pull request templates 2018-04-12 19:01:25 -07:00
Stan James
3b73710c3b Sample env variables 2018-02-25 07:28:32 -06:00
Stan James
2abf64461d fix 2018-02-22 16:48:59 -08:00
Stan James
e6d001eac2 Fix problem with adding users.
Added comments too.
2018-02-22 16:36:09 -08:00
Stan James
640a075b4f Merge branch 'master' into develop 2018-02-22 16:07:10 -08:00
Stan James
b9b1663db3 Added check of chat_id. Removed unusable notifications to users
Some comment cleanup
2018-02-22 16:05:41 -08:00
Stan James
352b312afb Disable checks for admins 2018-02-22 15:38:02 -08:00
Stan James
73d6cf94ad change safe id to list 2018-02-21 19:27:39 -08:00
Stan James
12b859a3a5 Added debug for safe users 2018-02-21 19:20:03 -08:00
Stan James
eaf9d33b8d Merge branch 'develop' of github.com:OriginProtocol/origin-telegram-logger-bot into develop 2018-02-10 22:25:16 -07:00
Stan James
0dc4a82c4c PM offending user and selected users on moderation action. 2018-02-10 22:24:36 -07:00
Stan James
e812f33d9e If banned, don't bother with message check 2018-02-10 08:55:10 -07:00
Stan James
9fabbc6e3b Merge branch 'master' of github.com:OriginProtocol/origin-telegram-logger-bot 2018-02-10 08:41:06 -07:00
Stan James
1c98c71c4c
Updated readme 2018-02-10 08:38:25 -07:00
Stan James
e0b73cc123 Updated readme 2018-02-10 08:37:03 -07:00
Stan James
be39359262 Fixed parens 2018-02-09 18:24:09 -07:00
Stan James
ca7826d88e Ban and hide now getting logged in db 2018-02-09 18:13:09 -07:00
Stan James
1430126c44 regex verbose, so we can have comments 2018-02-06 15:10:49 -07:00
Stan James
cb3059aad4 Merge branch 'develop' of github.com:OriginProtocol/origin-telegram-logger-bot into develop 2018-02-06 11:30:11 -07:00
Stan James
34f6977814 Delete any message worthy of a ban. 2018-02-06 11:29:46 -07:00
Stan James
69e5e1b208 Fixed call to add_usesr to be class-aware 2018-02-05 20:11:17 -07:00
Stan James
71067ed856
comment wasn't accurate 2018-02-05 16:19:44 -07:00
Stan James
9409b4bfbe Kick enabled. 2018-02-02 12:06:44 -07:00
Stan James
11fe6cf312 Added chat bag for debug 2018-02-01 21:29:58 -07:00
Stan James
a74a3fd5c2 Syntax error 2018-02-01 21:10:09 -07:00
Stan James
a698700709 Added Unidecode to reqs 2018-02-01 21:02:19 -07:00
Stan James
8361577f9b working as a class 2018-02-01 20:11:15 -07:00
Stan James
20a70ff55f tried putting in a class 2018-02-01 19:35:56 -07:00
Stan James
0079ae2aec Ignores accents on characters now 2018-02-01 16:04:18 -07:00
Stan James
cf81b03e8c Basic matching and banning working 2018-02-01 14:54:27 -07:00
Stan James
df6bd0f19e
Added note about worker on heroku to readme 2018-01-31 08:44:40 -07:00
Stan James
534f2cbd3e Fixing Error R10
The fix: https://stackoverflow.com/a/40356341/59913
2018-01-31 08:30:07 -07:00
Stan James
f0b2291dc9 Fixed print() to python 3 standard 2018-01-30 16:44:44 -07:00
Stan James
4b40c57e80 Added Procfile 2018-01-30 16:43:30 -07:00
Stan James
a982216948 Deleted unused config and updated README 2018-01-30 16:28:00 -07:00
Stan James
b22703e8ad Moved database uri to env var
Was is config file.
2018-01-30 16:23:53 -07:00
Stan James
9153ba75b6 formatting 2018-01-30 16:01:31 -07:00
Stan James
d67f73c3c5 Fixed handling of non-ascii messages. 2018-01-28 23:22:37 -07:00
Stan James
919dd9e940 Display logged messages. 2018-01-28 22:41:12 -07:00
Stan James
01019f1186 Cleaned up README and moved config info out of version control
Clarified naming of some things.
2018-01-28 22:29:50 -07:00
Stan James
68cf51aa3e
Merge pull request #1 from Kentoseth/master
MVP for a logger
2018-01-28 21:18:09 -07:00
Kentoseth
ffd952c014 added requirements.txt file 2018-01-29 02:25:17 +02:00
Kentoseth
381a69e6d8 MVP for a logger 2018-01-29 01:29:58 +02:00
Stan James
75f7781f13
Initial commit 2018-01-25 19:51:46 -07:00