callsmusic / callsmusic2 Goto Github PK
View Code? Open in Web Editor NEW[UNMAINTAINED] Stream audio in Telegram calls using GramJS and tgcallsjs
License: GNU Affero General Public License v3.0
[UNMAINTAINED] Stream audio in Telegram calls using GramJS and tgcallsjs
License: GNU Affero General Public License v3.0
i dont know this, but it give me error
root@vultr:~/cm# python3 -m callsmusic
Pyrogram v1.2.8, Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/root/cm/callsmusic/__main__.py", line 31, in <module>
bot.start()
File "/usr/local/lib/python3.6/dist-packages/pyrogram/sync.py", line 56, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/local/lib/python3.6/dist-packages/pyrogram/methods/utilities/start.py", line 68, in start
await self.initialize()
File "/usr/local/lib/python3.6/dist-packages/pyrogram/methods/auth/initialize.py", line 44, in initialize
self.load_plugins()
File "/usr/local/lib/python3.6/dist-packages/pyrogram/client.py", line 715, in load_plugins
module = import_module(module_path)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 781, in get_code
File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<fstring>", line 1
(await queues.put(message.chat.id, file_path=file_path))
^
SyntaxError: invalid syntax
In config.py, there is a dotenv import of SUDO_USERS, but in example.env, there is no template for SUDO_USERS. I think this is a mistake.
pls include the string session repl link to this repo ,without that , i am help less to deploy the bot
from where i can get string section?
Can you show me how to use this bot ? i have do for creating first video call group and /play. But this bot not joined.
Pyrogram v1.1.13, Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
node:internal/modules/cjs/loader:927
throw err;
^
Error: Cannot find module 'socket.io-client'
Require stack:
- /usr/local/lib/python3.7/dist-packages/pytgcalls/js/core.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15)
at Function.Module._load (node:internal/modules/cjs/loader:769:27)
at Module.require (node:internal/modules/cjs/loader:996:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object.<anonymous> (/usr/local/lib/python3.7/dist-packages/pytgcalls/js/core.js:1:12)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lib/python3.7/dist-packages/pytgcalls/js/core.js' ]
}
I deployed this using heraku. But still no reply from the bot. l'm pretty sure I used the correct variables
After play a song when I want to add a new song to queue via /play, it gives me this: TypeError: put() takes 1 positional argument but 2 were given
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.