[AYUDA] Bot de Telegram para controlar servidor

Hola!

haciendo una búsqueda para ver si existía un bot que me permitiera controlar mi servidor casero he dado con esto Server Manager Bot
He intentado instalarlo pero a la hora de ejecutar me da errores de ejecución de Telepot. Mi conocimiento en esto es limitado, así que haber si alguien puede echarme una mano. Dejo el error en spoiler

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 787, in get_from_telegram_server
    result = self.getUpdates(offset=offset, timeout=timeout)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 630, in getUpdates
    return self._api_request('getUpdates', _rectify(p))
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/__init__.py", line 398, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 131, in request
    return _parse(r)
  File "/usr/local/lib/python3.4/dist-packages/telepot-10.1-py3.4.egg/telepot/api.py", line 126, in _parse
    raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ("Conflict: can't use getUpdates method while webhook is active", 409, {'description': "Conflict: can't use getUpdates method while webhook is active", 'ok': False, 'error_code': 409})


¿Conocéis alguna otra alternativa similar?

Gracias de antemano
Si sabes programar algo de Python, te recomiendo la libreria python-telegram-boot. Tienes bastantes ejemplos sencillos en su web de como hacerte un bot de Telegram en pocas lineas.
3 respuestas