Commit Graph

62 Commits

Author SHA1 Message Date
rubenlagus
ac83b5d517 Update version 2020-10-28 22:16:13 +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
rubenlagus
749c6d3b6f Fixes #767, #766, #761, #763, #776, #772, #771, #780 2020-08-01 12:49:46 +01:00
rubenlagus
72b239e851 Update version 4.9 2020-06-04 22:18:36 +01:00
rubenlagus
f84ec0b020 Version 4.8.1 2020-04-26 02:11:41 +01:00
Ruben Bermudez
21472d67cd
Merge pull request #735 from Chase22/fix-command-bot-constructors
Revert: Added deprecated constructor with the old style (e526b9db)
2020-04-26 00:37:59 +01:00
rubenlagus
571d58e13f Update version Api 4.8 2020-04-24 09:03:23 +01:00
Ruben Bermudez
14633b4040 Update version Api 4.7 2020-04-01 09:10:13 +01: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
rubenlagus
d61ade0487 Update 4.6 2020-01-23 23:23:29 +00:00
rubenlagus
6b1cea5e82 Update version 4.5 2019-12-31 03:36:57 +01:00
Ruben Bermudez
0cbc21b142 Update version 4.4.0.2 2019-11-19 00:43:25 +00:00
rubenlagus
7cfcca3ae3 Fix error importing project 2019-11-19 00:42:17 +00: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
87bd7aefd2 Update version in poms 2019-07-28 21:27:12 +01:00
rubenlagus
830b873776 Remove BotLogger 2019-07-27 13:19:54 +01:00
rubenlagus
04248e64a7 Update pom to support earlier versions as well 2019-07-08 20:42:42 +01:00
rubenlagus
679ad618b9 Java 11, initial version 2019-07-08 20:22:51 +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
Ruben Bermudez
7c64bf5f1b Update version 2019-06-08 20:39:08 +01:00
Rubenlagus
b3914c5e76 Api version 4.3 2019-06-01 12:50:17 +01:00
Ruben Bermudez
20f45bd604 Api version 4.2 2019-04-16 00:11:11 +01:00
Ruben Bermudez
d78acbdda0 Update poms and fix guava 2019-04-05 00:52:35 +01:00
Rubenlagus
1883320445 Update versions 2019-01-27 23:37:46 +00:00
Rubenlagus
f998cc2509 Update versions 2019-01-02 16:19:43 +01:00
Rubenlagus
e203abfab5 Update versions 2019-01-02 16:12:05 +01:00
Ruben Bermudez
7f8df47f0b Update version 4.1 2018-08-21 20:59:55 +01:00
Ruben Bermudez
e52b7c48a7 Update version 2018-08-09 02:50:04 +02:00
Ruben Bermudez
904dc39a97 Fix docs 2018-07-27 00:51:45 +02:00
Ruben Bermudez
a75ca5f08d Version 4.0.0 2018-07-27 00:27:26 +02:00
chmilevfa
0357fdb137 Properly update version to 3.6.2 2018-07-16 19:43:45 +02:00
chmilevfa
ad3dbfdd58 Merge branch 'dev' into java9-support
# Conflicts:
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/bot/AbilityBot.java
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/objects/EndUser.java
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/objects/MessageContext.java
#	telegrambots-spring-boot-starter/src/main/java/org/telegram/telegrambots/starter/TelegramBotStarterConfiguration.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultBotOptions.java
2018-07-16 19:37:30 +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
AzZu
ff73a43337 Update version to 3.6.2
Cause new version does not support the old methods of enabling a proxy
2018-05-06 23:32:33 +03:00
Ruben Bermudez
28a9cf1fdb Version 3.6.1 2018-04-20 01:44:04 +02:00
Marijn Koesen
422b26d661
Add IBotCommand to create Commands that get whole Message 2018-02-27 06:50:27 +01:00
Ruben Bermudez
6db6c4bf0d Update version 3.6 2018-02-14 20:36:22 +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
49c0fef3c5 Update version 3.5 2017-11-17 15:47:22 +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