Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not a bug but... #19

Closed
PystoyPlayer opened this issue Jun 24, 2024 · 9 comments · Fixed by #20
Closed

not a bug but... #19

PystoyPlayer opened this issue Jun 24, 2024 · 9 comments · Fixed by #20

Comments

@PystoyPlayer
Copy link

[17:19:36 ERROR]: [TelegramBridge] Error editing message: Error executing org.telegram.telegrambots.meta.api.methods.updatingmessages.EditMessageText query: [400] Bad Request: message is not modified: specified new message content and reply markup are exactly the same as a current content and reply markup of the message
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.telegram.telegrambots.meta.api.methods.PartialBotApiMethod.deserializeResponseInternal(PartialBotApiMethod.java:54)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.telegram.telegrambots.meta.api.methods.PartialBotApiMethod.deserializeResponseSerializable(PartialBotApiMethod.java:44)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.telegram.telegrambots.meta.api.methods.botapimethods.BotApiMethodSerializable.deserializeResponseFromPossibilities(BotApiMethodSerializable.java:31)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.telegram.telegrambots.meta.api.methods.botapimethods.BotApiMethodSerializable.deserializeResponseMessageOrBoolean(BotApiMethodSerializable.java:24)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.telegram.telegrambots.meta.api.methods.updatingmessages.EditMessageText.deserializeResponse(EditMessageText.java:130)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.telegram.telegrambots.bots.DefaultAbsSender.sendApiMethod(DefaultAbsSender.java:1182)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.telegram.telegrambots.meta.bots.AbsSender.execute(AbsSender.java:61)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.altart.telegrambridge.bot.TelegramBot.editSystemMessage(TelegramBot.java:194)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.altart.telegrambridge.bot.feature.PinMessage.updatePinnedMessage(PinMessage.java:43)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.altart.telegrambridge.bot.feature.PinMessage.<init>(PinMessage.java:16)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.altart.telegrambridge.bot.TelegramBot.<init>(TelegramBot.java:37)
[17:19:36 ERROR]: [TelegramBridge] TelegramBridge-2.1.3.jar//org.altart.telegrambridge.TelegramBridge.onEnable(TelegramBridge.java:46)
[17:19:36 ERROR]: [TelegramBridge] org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281)
[17:19:36 ERROR]: [TelegramBridge] io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189)
[17:19:36 ERROR]: [TelegramBridge] io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104)
[17:19:36 ERROR]: [TelegramBridge] org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507)
[17:19:36 ERROR]: [TelegramBridge] org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:656)
[17:19:36 ERROR]: [TelegramBridge] org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:567)
[17:19:36 ERROR]: [TelegramBridge] net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:640)
[17:19:36 ERROR]: [TelegramBridge] net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:439)
[17:19:36 ERROR]: [TelegramBridge] net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:345)
[17:19:36 ERROR]: [TelegramBridge] net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1116)
[17:19:36 ERROR]: [TelegramBridge] net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322)
[17:19:36 ERROR]: [TelegramBridge] java.base/java.lang.Thread.run(Thread.java:1589)
@PystoyPlayer
Copy link
Author

PystoyPlayer commented Jun 24, 2024

just add a fallback message instead this big error

@alt-art
Copy link
Owner

alt-art commented Jun 24, 2024

This is important for debug and is good information to provide if something is wrong, I don't know if I can provide something to suppress this error

@alt-art
Copy link
Owner

alt-art commented Jun 24, 2024

I can simply not run this on start, and the server message will be updated only when someone enters the server

@alt-art
Copy link
Owner

alt-art commented Jun 24, 2024

What you think?

@PystoyPlayer
Copy link
Author

I can simply not run this on start, and the server message will be updated only when someone enters the server

Sounds ok but can you also add "Player quit" message when a server is restarting ?

@alt-art
Copy link
Owner

alt-art commented Jun 26, 2024

I can simply not run this on start, and the server message will be updated only when someone enters the server

Sounds ok but can you also add "Player quit" message when a server is restarting ?

How exactly? I don't understand exactly what you want.

Every restart show the message as a player left the game?

@PystoyPlayer
Copy link
Author

I can simply not run this on start, and the server message will be updated only when someone enters the server

Sounds ok but can you also add "Player quit" message when a server is restarting ?

How exactly? I don't understand exactly what you want.

Every restart show the message as a player left the game?

https://cln.sh/G3sFvdjn

@PystoyPlayer
Copy link
Author

any news ?

@alt-art
Copy link
Owner

alt-art commented Jul 11, 2024

I am making tests for the next release to make sure everything will work as expected I don't want to make the same mistake as last time

@alt-art alt-art linked a pull request Jul 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants