Improved string variable names

This commit is contained in:
Luquinhas 2025-01-10 10:09:47 -03:00
parent d1494fbd80
commit 8227d88e72
No known key found for this signature in database
GPG key ID: D9B075FC6DC93985
6 changed files with 26 additions and 26 deletions

View file

@ -38,7 +38,7 @@ module.exports = (bot) => {
const args = ctx.message.text;
if (args.length < 9) {
return ctx.reply(Strings.provideLocation, {
return ctx.reply(Strings.weatherProvideLocation, {
parse_mode: "Markdown",
reply_to_message_id: ctx.message.message_id
});
@ -59,7 +59,7 @@ module.exports = (bot) => {
const locationData = locationResponse.data.location;
if (!locationData || !locationData.address) {
return ctx.reply(Strings.invalidLocation, {
return ctx.reply(Strings.weatherInvalidLocation, {
parse_mode: "Markdown",
reply_to_message_id: ctx.message.message_id
});