Comments (16)
I think telegram.stdin.write doesn't work !
from teleirc.
same issue - any idea?
from teleirc.
Sorry, it looks like the telegram-cli client had changed some syntax around. Try pulling the latest teleirc commits and see if it works now. I also had an issue after updating where telegram-cli would refuse to see my group chats, but deleting ~/.telegram-cli and logging in again fixed that issue.
Please make sure that you actually can send messages to Telegram groups when you manually run telegram-cli!
from teleirc.
just updated the js file now gives
root@ubuntu:# node teleirc.js#
module.js:340
throw err;
^
Error: Cannot find module 'irc'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/teleirc.js:5:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
root@ubuntu:
On 4 June 2015 at 20:05, Rasmus Eskola [email protected] wrote:
Sorry, it looks like the telegram-cli client had changed some syntax
around. Try pulling the latest teleirc commits and see if it works now. I
also had an issue after updating where telegram-cli would refuse to see my
group chats, but deleting ~/.telegram-cli and logging in again fixed that
issue.Please make sure that you actually can send messages to Telegram groups
when you manually run telegram-cli!—
Reply to this email directly or view it on GitHub
#1 (comment).
from teleirc.
Run npm install
from teleirc.
that gives me
root@ubuntu:~# npm install
npm ERR! install Couldn't read dependencies
npm ERR! package.json ENOENT, open '/root/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current
directo ry.
npm ERR! System Linux 3.16.0-38-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! path /root/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0
root@ubuntu:# ls#
ibotg-master npm-debug.log teleirc.js tg
LICENSE teleircConfig.js.example teleirc.service
root@ubuntu:
On 4 June 2015 at 20:17, Rasmus Eskola [email protected] wrote:
Run npm install
—
Reply to this email directly or view it on GitHub
#1 (comment).
from teleirc.
root@ubuntu:~# apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version.
The following packages were automatically installed and are no longer
required:
- ax25-node libax25 libfile-copy-recursive-perl openbsd-inetd update-inetd*
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
root@ubuntu:~# npm install
npm ERR! install Couldn't read dependencies
npm ERR! package.json ENOENT, open '/root/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current
directory.
npm ERR! System Linux 3.16.0-38-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! path /root/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0
root@ubuntu:~#
On 4 June 2015 at 20:17, Rasmus Eskola [email protected] wrote:
Run npm install
—
Reply to this email directly or view it on GitHub
#1 (comment).
from teleirc.
Try the command again inside the repository dir
from teleirc.
Added this step to README.md
as well 👍
from teleirc.
Gives me :
root@ubuntu:# ls# cd tg
ibotg-master LICENSE npm-debug.log teleircConfig.js.example teleirc.js
teleirc.service tg
root@ubuntu:
root@ubuntu:~/tg# npm install
npm ERR! install Couldn't read dependencies
npm ERR! package.json ENOENT, open '/root/tg/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current
directory.
npm ERR! System Linux 3.16.0-38-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /root/tg
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! path /root/tg/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/tg/npm-debug.log
npm ERR! not ok code 0
root@ubuntu:~/tg#
On 4 June 2015 at 20:20, Rasmus Eskola [email protected] wrote:
Try the command again inside the repository dir
—
Reply to this email directly or view it on GitHub
#1 (comment).
from teleirc.
No no, not the tg
repo but teleirc
from teleirc.
sorry bud
Ok loaded and bot is now back in IRC....
On 4 June 2015 at 20:24, Rasmus Eskola [email protected] wrote:
No no, not the tg repo but teleirc
—
Reply to this email directly or view it on GitHub
#1 (comment).
from teleirc.
No worries, let's hope it works this time! Thanks for debugging :)
from teleirc.
i can see in unix the IRC chats now but nothign going from tg or to tg
now...
On 4 June 2015 at 20:27, Rasmus Eskola [email protected] wrote:
No worries, let's hope it works this time! Thanks for debugging :)
—
Reply to this email directly or view it on GitHub
#1 (comment).
from teleirc.
any idea i can see the node.js reading the items in our IRC window but
nothing is getting announced from IRC > TG or from TG > IRC
root@ubuntu:~/teleirc# node teleirc.js
Connected to IRC server.
Using nickname: myTelegramBot
IRC message: PLEXBOT: hello
IRC message: PLEXBOT: hehe
On 4 June 2015 at 20:27, Rasmus Eskola [email protected] wrote:
No worries, let's hope it works this time! Thanks for debugging :)
—
Reply to this email directly or view it on GitHub
#1 (comment).
from teleirc.
I can do a remote session on my terminal if that helps?
On 4 June 2015 at 20:27, Rasmus Eskola [email protected] wrote:
No worries, let's hope it works this time! Thanks for debugging :)
—
Reply to this email directly or view it on GitHub
#1 (comment).
from teleirc.
Related Issues (20)
- Telegram codeblocks should go into pastebin and teleirc might take care of it like images or stickers HOT 5
- Only oneway HOT 3
- "not found in config" errors after upgrade HOT 9
- TypeScript "rewrite"
- Social card for this repo heads to 404 error HOT 1
- Say something when files are uploaded even if mediaupload is disabled
- Optionally give IRC users Telegram links for stickers and files. HOT 2
- Infinite no chat_id set when group is created and updated to supergroup before enabling private message handling HOT 2
- Add support for CertFP
- SASL plain fails HOT 7
- Current irc framework does not handle rejoins
- IPFS support for file uploads
- "left_chat_participant", "new_chat_participant" and "new_chat_photo" messages should be disabled when config.soloUse is active
- "error: channel <channel> not found in config!" needs a more verbose log level
- teleirc might spam IRC channels with error messages
- use XDG_CONFIG_HOME
- Just show image url and don't serve the image HOT 2
- teleirc not relaying messages from other Telegram bots to IRC HOT 2
- Meta: is the Telegram group relayed to freenode #teleirc ?
- Is teleirc maintained? Should the repository point to matterbridge instead and be archived? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teleirc.