Giter Site home page Giter Site logo

telegram-bot's People

Contributors

benjif avatar fco avatar jj avatar zoffixznet avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

telegram-bot's Issues

Also times out

This is the message:

Died with the exception:
    Exceeded timeout for connection when attempting to access api.telegram.org
      in block  at /home/jmerelo/.rakubrew/versions/moar-2022.07/install/share/perl6/site/sources/5DF05A37EADB5F570EBCC5CA4E892D3D8C93E425 (Cro::HTTP::Client) line 847

Add the possibility to send raw messages

If they have been uri-encoded on the other end, for instance. Or URI encoded only in part.
I can do a PR for this is needed; would you please add "hacktoberfest" to the topics of the repo so that it counts :-)?

recive message error

C:\Users\who\Desktop\perl6code>perl6 tg_bot.p6
Unhandled exception in code scheduled on thread 4
Tried to get the result of a broken Promise
in block at D:\rakudo-moar-2021.02.1-01-win-x86_64-msvc\share\perl6\site\sources\DDDD3607B617AC6B7DCA0D086AD3F4247AC394E9 (Cro::TLS) line 108

Original exception:
An operation first awaited:
in block at D:\rakudo-moar-2021.02.1-01-win-x86_64-msvc\share\perl6\site\sources\584A708596C72A1A3A2D0C14E98DC9315145E2FE (IO::Socket::Async::SSL) line 364

Died with the exception:
    Server certificate verification failed: self signed certificate in certificate chain
      in block  at D:\rakudo-moar-2021.02.1-01-win-x86_64-msvc\share\perl6\site\sources\584A708596C72A1A3A2D0C14E98DC9315145E2FE (IO::Socket::Async::SSL) line 364

C:\Users\who\Desktop\perl6code>

URI encoding should be done properly

The current version leaves out some characters such as ร  and things like โ†
This is probably a good, or better, alternative than #8, although that could possible be needed after all.

Weird error of unknown origin

Here it goes

Unhandled exception in code scheduled on thread 4
No such method 'floor' for invocant of type 'Any'
  in method new at /home/jmerelo/.rakubrew/versions/moar-2021.02/install/share/perl6/site/sources/C0D1CE7BB808CE6F8C2FE02FF50E3FE073C3C6DD (Telegram::Object::Message) line 16
  in block  at /home/jmerelo/.rakubrew/versions/moar-2021.02/install/share/perl6/site/sources/76083AEB13DFA689AF7DC60B6BB6A52A07C27DA7 (Telegram) line 59
  in method update at /home/jmerelo/.rakubrew/versions/moar-2021.02/install/share/perl6/site/sources/76083AEB13DFA689AF7DC60B6BB6A52A07C27DA7 (Telegram) line 36
  in block  at /home/jmerelo/.rakubrew/versions/moar-2021.02/install/share/perl6/site/sources/76083AEB13DFA689AF7DC60B6BB6A52A07C27DA7 (Telegram) line 69

I really have no idea how it arrived to this... There must be something in the original message that made it crash.

Does not install now

===> Testing: Digest:ver<0.18.0>
===> Testing [FAIL]: Digest:ver<0.18.0>
Aborting due to test failure: Digest:ver<0.18.0> (use --force-test to override)

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.