Andriy
a4f05bacab
[code-watcher] handle message edit & message delayed delete service
...
Message delayed deleter service deals with issue when you need to delete some message with delay without blocking the execution. This is replacement for dumb Task.Delay call. Use of it could be used before as exploit, to stop responding for a long time.
2022-07-07 17:15:40 +03:00
Andriy
e1ec7937fe
[code-watcher] skip messages with lineCount < 2
2022-07-07 17:02:47 +03:00
Andriy
afb942a33a
[code-watcher] double the trigger criterias
2022-06-14 11:23:02 +03:00
West14
2bffddd57c
[store] disable store command for bots, cleanup
2022-05-10 19:11:01 +03:00
West14
0aea2fac42
[reputation] fix top fails when user left chat
2022-05-07 18:07:08 +03:00
West14
5eec35ba7d
[cm] add reply when there are no banned stickerset list in db
2022-05-07 17:56:12 +03:00
West14
621fb27b46
[cm] fix wrong behaviour when bot doesn't have perms to delete sticker
2022-05-07 17:50:37 +03:00
Andriy and GitHub
918ab8d2d9
Merge pull request #16 from Bubuni-Team/feature/stickerset-ban
...
[cm] Ability to ban sticker sets
2022-05-05 22:26:27 +03:00
West14
76ad165695
[cm] ability to ban stickerset
2022-05-05 19:29:25 +03:00
Andriy and GitHub
ff4cf0a0ef
Merge pull request #15 from Bubuni-Team/refactor/warn
...
[cm] warn decomposition
2022-05-05 13:43:08 +03:00
West14
88e04df77c
fuck visual studio
2022-05-05 13:30:59 +03:00
West14
df43c45f02
[cm] warn decomposition
2022-05-05 13:26:17 +03:00
West14
d90556d445
[store] add reputation info to bot answers
2022-04-26 00:49:32 +03:00
West14
f69ecc93f6
[store] add user balance
2022-04-26 00:28:39 +03:00
West14
7b4c5aa3d4
[cm] change culture to ru, add no-perm warn on /ban command
2022-04-25 20:13:43 +03:00
West14
1860995db5
[cm] fix warn overflow, return ban msg when warn limit is reached
2022-04-24 22:38:09 +03:00
Andriy and GitHub
57a11c44a8
Merge pull request #13 from Bubuni-Team/feature/timed-bans
...
[cm] ability to ban user for an arbitrary period
2022-04-23 22:06:54 +03:00
Andriy and GitHub
49c051910d
Merge pull request #14 from Bubuni-Team/feature/reputation-improve
...
Draft: [reputation] /addrep command
2022-04-23 22:06:45 +03:00
West14
87b4732e99
[reputation] remove mentions in /top commands
2022-04-23 21:53:34 +03:00
West14
4accf36ffa
[reputation] /addrep command
2022-04-23 21:43:29 +03:00
West14
5b77ef2b85
[cm] ability to ban user for an arbitrary period
2022-04-23 21:03:33 +03:00
Andriy and GitHub
634695d0d8
Merge pull request #12 from Bubuni-Team/feature/greetings
...
[cm] greet new members & refactor rules
2022-04-21 18:05:25 +03:00
West14
15b19c97dd
[cm] greet new members & refactor rules
2022-04-21 17:42:44 +03:00
West14
fc7b341f49
[ci] disable container auto-deploy
2022-04-21 15:22:05 +03:00
Andriy and GitHub
749f4e0dcd
Merge pull request #11 from Bubuni-Team/refactor/rss-cleanup
...
RSS module code cleanup.
2022-04-21 15:12:11 +03:00
West14
41a8eaefc2
[rss] Unsubscriber service cleanup.
2022-04-21 14:53:25 +03:00
West14
04a660181d
[rss] MessageSender service cleanup
2022-04-21 14:33:01 +03:00
West14
00bfa59d11
[rss] possible fix for empty feed name in logs & RssFetch service cleanup
2022-04-21 14:26:35 +03:00
Andriy and GitHub
98cc8b8737
Merge pull request #10 from Bubuni-Team/feature/code-watcher
...
Code-watcher module.
2022-04-20 15:07:56 +03:00
West14
4f05a09846
[code-watcher] Cleanup. Remove notification in 1 minute after sending.
2022-04-20 13:14:01 +03:00
West14
b58fe8b6e9
[code-watcher] init module.
2022-04-20 00:38:47 +03:00
West14
166363cd50
[cm & ci] Send message on user unban. Trigger redeploy in CI.
2022-04-08 15:53:34 +03:00
West14
6b49ecb4d9
[debug-tools] Allow chat admins to use the /dump command.
2022-03-17 18:54:07 +02:00
West14
cd518131af
Update README.md
...
The real purpose of this commit is to trigger the GitHub Actions workflow.
2022-03-17 18:25:39 +02:00
Andriy and GitHub
6ddea8ed1a
[debug-tools] Module init. ( #9 )
2022-03-17 17:39:57 +02:00
West14
c1008e1040
[store] Refactor store command handler to use LINQ.
2022-02-25 20:47:24 +02:00
West14
fb1bfd20e5
[reputation] Fix antiflood condition.
2022-02-18 01:25:53 +02:00
West14
5307c201ab
[reputation] Bypass antiflood for admins.
2022-02-18 01:21:05 +02:00
West14
a2404aecc6
[store] Real fix for button order.
2022-02-16 18:30:50 +02:00
West14
5718b49455
[store] Fix button order. Fix internal id for anim boobs.
2022-02-16 18:27:09 +02:00
West14
f0d5e080d5
[store] Add description about boobs request uri.
2022-02-16 18:09:55 +02:00
West14
cd8b25bcb8
[store] Reduce amount of hardcoded values.
2022-02-16 18:08:02 +02:00
West14
d99c71c07c
[store] Refactor service registration mechanism.
2022-02-16 17:43:57 +02:00
West14
16ca4a09a2
Update Dockerfile to build ContentStore. Fix success purchase message markup.
2022-02-16 17:11:29 +02:00
West14
e815deba58
[store] Basic content store implementation.
...
- Bump Telegram Bot Framework to 0.6.9-gf1e77653ff
2022-02-16 17:07:30 +02:00
West14
12a4a0ae83
More detailed logging in UserService. Rename WhoIs handler to math the classname.
2022-02-14 21:00:51 +02:00
West14
46a0e375c5
[reputation] Fetch only positive reputation for rating.
2022-02-14 14:42:40 +02:00
West14
e885613c58
[reputation] Add rating.
2022-02-14 14:39:55 +02:00
West14
f80b5d0da8
[cm] Use file-scoped namespaces.
2022-02-14 10:35:28 +02:00
West14
05778f7960
[reputation] Use file-scoped namespaces.
2022-02-14 10:21:35 +02:00
West14
d3ec6cfb4b
[whois] Move whois to separate handler in ChatManagement.
2022-02-14 10:20:07 +02:00
West14
2d4b36f8c3
[ci] Update Dockerfile to build reputation module.
2022-02-14 00:22:08 +02:00
West14
a4a44198c5
[reputation] Move reputation to separate module.
2022-02-14 00:18:53 +02:00
West14
6f02031e65
[quote] Use Sender ID instead of Chat ID if available.
2022-02-11 23:20:25 +02:00
West14
e2ca320bda
[quote] Fix forwarded messages author detection.
2022-02-11 22:57:01 +02:00
West14
7a1aa77932
[entertainment] Add some debug. More correct permission check.
2022-02-08 20:28:15 +02:00
West14
ac65afea21
Fix javascript trigger regexp. Update warn entity, when banning warned user.
2022-02-08 15:17:25 +02:00
West14
ae351c48f4
Merge branch 'dev' of https://github.com/CrazyHackGUT/telegram-bot into dev
2022-01-27 19:47:57 +02:00
West14
b48eb09eb4
[quote] Fix quote generation for forwarded messages.
2022-01-27 19:44:58 +02:00
West14
307d27232e
Fix dockerfile env.
2022-01-23 00:42:59 +02:00
West14
a46c5c5ea6
[reputation] Add debug logs.
2022-01-23 00:35:42 +02:00
West14
8f18ff4f18
[quote] Fix possible null-reference.
2022-01-21 14:28:33 +02:00
West14
f944d0731a
[quote] Remove unused "using" directives.
2022-01-21 14:23:05 +02:00
West14
a9d284dc9d
[quote] Code cleanup.
2022-01-21 14:18:56 +02:00
West14
8ad2d9968e
[quote] Update Dockerfile to build ChatQuote module.
2022-01-21 00:14:39 +02:00
West14
7cd1a295bb
[quote] Crappy chat quote implementation.
2022-01-21 00:10:27 +02:00
Andriy and GitHub
d9d5221280
Merge pull request #4 from CrazyHackGUT/feature/whois-member-status
...
[whois] Add chatmember status to output. Update .gitignore.
2022-01-20 15:05:58 +02:00
West14
3c0c50d09b
Remove exact file match from .gitignore.
2022-01-20 15:03:55 +02:00
West14
5513d0b62b
[whois] Remove unused import. Fix .gitignore. Do no fetch chatmember info, if custom status is set.
2022-01-20 15:00:34 +02:00
West14
a8c02184e9
[whois] Add chatmember status to output. Update .gitignore.
2022-01-20 14:28:26 +02:00
West14
b1876edf13
[rules] Fix permission check on setrules.
2022-01-18 21:59:26 +02:00
West14
1444e3282f
[rules] Throw exception on API request error.
2022-01-18 21:50:54 +02:00
West14
eb42b5b22b
Remove entity formatter.
2022-01-18 21:38:22 +02:00
West14
ffbb9dfee8
[rules] Implement /rules and /setrules. DIsable build of arm images.
2022-01-18 21:36:47 +02:00
West14
9d2b0e5374
[rules] Upload missing changes.
2022-01-18 20:41:02 +02:00
West14
3e83488ddd
[rules] Start work on rules command.
2022-01-18 20:34:21 +02:00
West14
5555d73673
Change logging formatter name to "Simple" in Dockerfile.
2022-01-10 13:59:01 +02:00
West14
a9deb52953
Remove separate Dockerfiles.
2022-01-10 01:16:46 +02:00
West14
dbd4b73a32
[ci] fix runtime image name
2022-01-10 01:05:02 +02:00
West14
3dbd5e261f
[ci] fix Dockerfile name in worklflow
2022-01-10 01:02:43 +02:00
West14
ceb9825f29
[ci] Multiarch build. Fix dockerfile.
2022-01-10 01:01:38 +02:00
West14
938a918815
[ci] fix workflow
2022-01-10 00:51:08 +02:00
West14
9c291892cd
Bump to .NET 6. Add arm64 image build. Use short commit hash on image tag.
2022-01-10 00:50:05 +02:00
West14
60f6a639b6
Fix null reference.
2022-01-07 22:30:28 +02:00
West14
31a371b034
Change reputation counting algo.
2022-01-07 22:25:26 +02:00
West14
ad13577541
Change superuser command log category. Fix cooldowns command.
2022-01-07 15:46:04 +02:00
West14
740527d827
Assorted improvements.
...
- Add UserService.
- Add "setrep" command.
- Rename confusing methods and variables in AbstractAnimationHandler.
- Change Bayan cooldown to Zero.
- Add crappy "cooldowns" command.
2022-01-04 17:45:06 +02:00
West14
0c943300bb
Fix fun commands can block handler chain execution.
2022-01-03 22:14:59 +02:00
West14
64a4a1fabb
Add UserGroupTag module.
2022-01-03 22:13:44 +02:00
West14
9f108d5021
Add JavaScript GIF response. Change cooldown.
2022-01-03 20:58:26 +02:00
West14
5678de8531
Log animation handler triggers.
2022-01-03 19:22:03 +02:00
West14
f9bfc88c25
Add cooldown logging.
2022-01-03 15:55:42 +02:00
West14
36af127845
Put mesage text to lower case when matching animations.
2022-01-03 15:32:40 +02:00
West14
4dd2d4b5de
Merge branch 'dev' of https://github.com/CrazyHackGUT/telegram-bot into dev
2022-01-03 15:28:10 +02:00
West14
68deb1ec8b
Add cooldown for animation replies.
2022-01-03 15:28:00 +02:00
West14
3261d613d0
Yet another attempt to fix case insensitive matching.
2022-01-03 15:17:11 +02:00
West14
e5d3d7d15d
Attempt to fix case insensitive matching.
2022-01-03 15:08:14 +02:00
West14
b99614868b
Assorted improvements.
...
- Move BotExtension to Core.
- Update BotFramework
- Fix Fun commands.
- Remove ChatManagement dependency from Entertainment.
2022-01-03 14:58:53 +02:00
West14
c09b6d938a
Remove json deletion from Dockerfile.
2022-01-02 22:13:11 +02:00
West14
d145aced57
Remove pdb's and json's on build. Remove EnsureLoaded call from Entertainment module.
2022-01-02 22:10:08 +02:00