Code Monkey home page Code Monkey logo

hogar's People

Contributors

leonjza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hogar's Issues

Logger plugin should not take over

For some reason processing an incoming command stops after the Logging plugin. I'm assuming this is becuase should_reply is always set to False and the run command never returns a string.

(I can try to make a PR for it soon, just not right now)

Error

Hi
I send the : python hogarctl.py start
have a error

.__
| |__ ____ _________ _______
| | \ / _ \ / _____ _ __
| Y ( <> ) // > __ | | /
|| //__ (____ /|
/ /___
/ /
v1.0 - @leonjza

  • Loading plugins...
  • Loaded plugins for 8 message types: document; text; sticker; contact; video;
    location; photo; audio
  • Starting Daemon
    Starting...
    Traceback (most recent call last):
    File "hogarctl.py", line 151, in
    app.start()
    File "C:\Users\Om!D\Desktop\hogar-master\hogar\Utils\Daemon.py", line 177, in
    start
    self.daemonize()
    File "C:\Users\Om!D\Desktop\hogar-master\hogar\Utils\Daemon.py", line 67, in d
    aemonize
    pid = os.fork()
    AttributeError: 'module' object has no attribute 'fork'

how can fix this ?
tank you <3

Problem with command in group chats

Hi!
Nice work! I am playing around a bit with some plugins. I did this:

  • setup the bot with BotFather (including commands)
  • setup a plugin
  • add my bot to a group chat (this chat has also other bots inside)
  • Send the commands through telegram (when I click on the "/", instead of typing /myCommand) - this means that the command sent is /myCommand@MyBot

The bot doesn't reply to this input - however, it replies correctly if I just send "/myCommand".

I tried to add to the list of commands in the plugin file both commands (['myCommand'], ['myCommand@MyBot']) but it doesn't look to work..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.