Commit 53033d8b authored by Daniel Pérez Fernández's avatar Daniel Pérez Fernández 🕶
Browse files

Merge branch 'patch-1' into 'master'

Update minor fix weather.js

A callback listening event has been added

See merge request !2
parents 2a946703 1891cad2
Pipeline #93320552 passed with stage
in 1 minute and 2 seconds
......@@ -2,7 +2,8 @@
const app = require('../../settings/app');
app.bot.onText(/^\/clima (.+)/, function(msg, match){
app.bot.onText(/^\/clima (.+)/, function(msg, match)
app.bot.removeListener('callback_query')
const prop = {
'chat_id': msg.chat.id,
'city': match[1],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment