rubenlagus
3275c10913
More cleanup
2020-10-31 17:43:32 +00:00
rubenlagus
0a58ef7120
Remove deprecated versions
2020-10-31 13:19:19 +00:00
rubenlagus
6b18fbb545
Remove deprecated versions
2020-10-31 13:04:38 +00:00
Grig Alex
cdef29f1ba
Deprecate old constructor
2020-10-24 00:04:33 +03:00
Grig Alex
5ea6fc9f09
Add constructor with bot username
2020-10-21 22:16:38 +03:00
Grig Alex
323d7607d6
Create tests for CommandRegistry
2020-10-20 22:10:06 +03:00
Grig Alex
30fa92cd8b
Replace botUsername with botUsernameSupplier
2020-10-20 20:41:34 +03:00
Lukas Prediger
cc0e0c9771
Revert: Added deprecated constructor with the old style ( e526b9db
)
...
This commit causes a bug if using the normal constructors without
overriding getBotUsername and since it's no longer abstract it doesn't force you to implement the method,
even though it is needed in any case aside from the deprecated one
2020-03-05 17:01:06 +01:00
Ruben Bermudez
777dc843ef
Merge pull request #631 from jugendhacker/patch-jugendhacker-1
...
Fixed case insensitive usernames
2019-10-30 23:15:00 +00:00
j.r@wiuwiu.de
e526b9db14
Added deprecated constructor with the old style
2019-10-13 15:12:22 +02:00
rubenlagus
830b873776
Remove BotLogger
2019-07-27 13:19:54 +01:00
j.r@wiuwiu.de
91508aeebb
Removed unnecesarry botUsername argument
2019-06-27 21:11:09 +02:00
j.r@wiuwiu.de
01a7e7dc21
Fixed bot username
...
Let the programmer of the bot decide where the username should come from
2019-06-27 21:11:09 +02:00
j.r@wiuwiu.de
e616ebbddb
Made usernames case insensitive
...
Fixed because username in Telegram are not case sensitive, eg @fooBar is
the same user as @Foobar
2019-06-27 21:11:09 +02:00
chmilevfa
c0b903e689
telegrambots-extensions java 9 supported
2018-07-08 01:46:26 +02:00
chmilevfa
db9ae4f586
telegrambots-meta java 9 supported
2018-07-08 01:41:21 +02:00
Marijn Koesen
422b26d661
Add IBotCommand to create Commands that get whole Message
2018-02-27 06:50:27 +01:00
Chase
f687ca1ceb
changed getDescription() to toString() in getManText(BotCommand command)
2017-12-21 15:23:15 +01:00
Chase
6e4c785c9d
New command that provides help like the Linux man command
2017-12-21 15:10:57 +01:00
Ruben Bermudez
470b13bc5f
Merge pull request #337 from malta895/dev
...
Added processInvalidCommandUpdate()
2017-11-15 18:34:25 +01:00
malta895
ff1ef8586f
Added processInvalidCommandUpdate(), to handle invalid command sent by user
2017-11-15 11:44:16 +01:00
Vadim Goroshevsky
27d6d930cf
Add DefaultBotCommand, with message ID in execute method
2017-11-02 21:51:44 +02:00
Diego Schulz
4a9b0726e7
Update BotCommand.java
2017-09-18 15:39:45 -04:00
Diego Schulz
cf2632b6cc
Use a regular expression to split parameters
2017-09-18 15:36:02 -04:00
Ruben Bermudez
ffcdbd126e
Update version 3.2
2017-07-21 16:17:48 +02:00
Ruben Bermudez
082942ac9a
Merges #249
2017-06-18 14:38:26 +02:00
Ruben Bermudez
4dd8205974
Merge branch 'xMandrake-dev' into dev
2017-06-18 14:24:42 +02:00
Ruben Bermudez
0ec6b55216
Version 3.0.2
...
Create new extensions module
2017-06-18 05:34:13 +02:00