Improved string variable names
This commit is contained in:
parent
d1494fbd80
commit
8227d88e72
6 changed files with 26 additions and 26 deletions
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue