Giter Site home page Giter Site logo

teleseed's People

Contributors

alireza-star avatar buzz3rs avatar gitter-badger avatar groupforspeed avatar hamed9898 avatar hmon avatar imandaneshi avatar khfaji avatar paydaar avatar remembertheair avatar rondoozle avatar thisisarman avatar tiagodanin 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  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  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

teleseed's Issues

Bug in flood detection

Well, one day a people get in my group with flood lock enabled. He post a large amount of pics & he did not get kicked. But another one sent 5 text msg at a time and got kicked then. Is there a bug in flood detection algorithm?

bot doesn't respond in new plugin & update

bot doesn't respond in new plugin & update to me
it only respond when i send /id and it give my bot and my id
i try /help,!help etc......
thats my command my id is 131681931 and my bot id is 197095603
my username @zoomfastestman
my bot username @Telezoom
oh and i used c9.io
..............................................................................................................................................................
Telegram-cli version 1.3.3, Copyright (C) 2013-2015 Vitaly Valtman
Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type show_license'. This is free software, and you are welcome to redistribute it under certain conditions; typeshow_license' for details.
Telegram-cli uses libtgl version 2.0.3
Telegram-cli includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)
Telegram-cli uses libpython version 3.5.1
I: config dir=[/home/ubuntu/.telegram-cli]
Allowed user: 110626080
Allowed user: 197095603
Allowed user: 111020322
Allowed user: 111020322
Allowed user: 131681931
Allowed user: 197095603
Loading plugin onservice
Loading plugin inrealm
Loading plugin ingroup
Loading plugin inpm
Loading plugin banhammer
Loading plugin stats
Loading plugin anti_spam
Loading plugin owners
Loading plugin arabic_lock
Loading plugin set
Loading plugin get
Loading plugin broadcast
Loading plugin download_media
Loading plugin invite
Loading plugin all
Loading plugin leave_ban
Loading plugin admin

Mute in certain time spans

This project is excellent but my requirement is to use this bot to mute all messages during night time, when I'm not around to moderate the group.
I looked around the manual and the codes but couldn't figure out (how or where) to start coding something like that.
Could you point me to the right place and the needed things to do?

Problem With Replay

I have Problem, Replay ID Doesn't Work

Log:

Support MaKeRMaN »»» [reply to ] !id
*** 1473067802.611901 id=481
*** 1473067802.611924 id=481
Old message :(
*** 1473067802.621172 lua: plugins/Supergroup.lua:654: attempt to index local 'result' (a boolean value)

launch.sh making problems.

Hello,
I tried to do ./launch.sh install but after a long time it says that something is wrong with "json_object_set_new" in tg/json-tg.c. It's not recognized i think. I don't remember. My server is currently doing a full backup so I can't look atm cuz I accidentally rm -R my entire desktop -.-
I can send the full error message when it's done.

#FIX BLOCK USER REQ2

you say to this issues fixed block user
but this is dont fixed !!! i block user with { /pmblock } but bot dont block him.
dont forgot i run [ git pull ] in terminall and update all source for block user

any Idea?
[چچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچچ]

craching TG service on groups 2000 members

User deleted user#168453368 deleted
User deleted user#190794880 deleted
User deleted user#181094603 deleted
User deleted user#75927817 deleted
User deleted user#206430608 deleted
User deleted user#100245193 deleted
User deleted user#107020795 deleted
User deleted user#75308335 deleted
User deleted user#117847225 deleted
User deleted user#118101936 deleted
User deleted user#111705178 deleted
User deleted user#117176977 deleted
User deleted user#110776017 deleted
User deleted user#202377671 deleted
User deleted user#195249031 deleted
User deleted user#186928599 deleted
User deleted user#212392134 deleted

SIGNAL received
h./tg/bin/telegram-cli(print_backtrace+0x20)[0x46edb0]
./tg/bin/telegram-cli(termination_signal_handler+0x64)[0x46ee34]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40)[0x7f9e3a8f8d40]
./tg/bin/telegram-cli(lua_contact_list_cb+0xb9)[0x483f09]
./tg/bin/telegram-cli[0x4a0a0d]
./tg/bin/telegram-cli(tglq_query_result+0x10f)[0x498bdf]
./tg/bin/telegram-cli[0x4914ca]
./tg/bin/telegram-cli[0x4b6a1b]
/usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x754)[0x7f9e3bd36f24]
./tg/bin/telegram-cli(net_loop+0xa6)[0x470336]
./tg/bin/telegram-cli(loop+0x187)[0x471637]
./tg/bin/telegram-cli(main+0x2e5)[0x46d615]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f9e3a8e3ec5]
./tg/bin/telegram-cli[0x46d725]
so@ubuntu:~/TeleSeed$

whay??? :|

nima99

سلام
خوبی
چخ هبز

Migrating to Official API

Telegram-CLI is now proving to be a burden. In the recent days, kick and ban by reply has stopped working. Telegram-CLI also doesnt seem to capacitate for large groups.
I therefore propose a migration to Official API.

Add Enhancement Label

problem whith realm

I've made Group realm, but in that I /type message that >> chat type not found << where is my problem what to do?

[v4] Doesn't respond suddenly in only one supergroup

From yesterday bot had stopped to respond in only one of my supergroups
I had tried to update repository and restart bot and server services.
I had tried to simulate a fresh install but nothing comes right.
This group have about one thousand of user.
Nothing in my log except for one irripetibile error on line 473 of .///bot/utils.lua: bad argument #1 to 'len' (string expected, got boolean).

Repositories are broken

Cancel this, I'm an idiot. I simply needed to update.

Upon attempting an install, the following error has occurred:

"Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libpython-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package libreadline-dev
E: Unable to locate package libconfig-dev
E: Unable to locate package lua5.2
E: Couldn't find any package by regex 'lua5.2'
E: Unable to locate package liblua5.2-dev
E: Couldn't find any package by regex 'liblua5.2-dev'
E: Unable to locate package libevent-dev
E: Unable to locate package libjansson-dev
E: Package 'libpython-dev' has no installation candidate
E: Unable to locate package expat"

I have concluded that the files targeted have changed version or location. Pleas update your install instructions accordingly.

hihi

hihi hoho lele

attempt to index field '?' (a nil value)

Today I'm keep getting this error while using commands such as /link /owner etc. whereas everything was working perfectly last night! Does anyone know what the problem is?
solved

Not working with Supergroups

Bot isn't working with super groups. No output from the chats in the console, or response actions in the chat itself.

hihi

hihi hoho lele

Error on Install

i Try to install the TeleSeed, but i get this error:

_

`luasocket 3.0rc1-2 is now built and installed in /home/inovetec/Stryder/.luarocks (license: MIT)

Installing https://rocks.moonscript.org/oauth-0.0.6-1.src.rock...
Using https://rocks.moonscript.org/oauth-0.0.6-1.src.rock... switching to 'build' mode

Missing dependencies for oauth:
lbase64

Using https://rocks.moonscript.org/lbase64-20120820-1.src.rock... switching to 'build' mode

Missing dependencies for lbase64:
lua ~> 5.1

Error: Failed installing dependency: https://rocks.moonscript.org/lbase64-20120820-1.src.rock - Could not satisfy depe
ndency: lua ~> 5.1
Error. Exiting.`

_

But i Have the LUA installed and Updated!

onservice

Onservice is not working please fix it

muteuser [bug]

muteuser with reply and username for Modod is dont worked.

*Modod must be mute with ID *

its better owner and promote can mute user by reply or @username

lua

what is this? please help me

root@ubuntu:/TeleSeed# ./launch.sh
rm: cannot remove '../.telegram-cli/state': No such file or directory
change_user_group: can't find the user telegramd to switch to
Telegram-cli version 1.4.1, Copyright (C) 2013-2015 Vitaly Valtman
Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type show_license'. This is free software, and you are welcome to redistribute it under certain conditions; typeshow_license' for details.
Telegram-cli uses libtgl version 2.1.0
Telegram-cli includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)
I: config dir=[/root/.telegram-cli]
*** 1470509352.134142 lua: .///bot/utils.lua:3: module 'ssl.https' not found:
no field package.preload['ssl.https']
no file '/usr/local/share/lua/5.2/ssl/https.lua'
no file '/usr/local/share/lua/5.2/ssl/https/init.lua'
no file '/usr/local/lib/lua/5.2/ssl/https.lua'
no file '/usr/local/lib/lua/5.2/ssl/https/init.lua'
no file '/usr/share/lua/5.2/ssl/https.lua'
no file '/usr/share/lua/5.2/ssl/https/init.lua'
no file './ssl/https.lua'
no file '.luarocks/share/lua/5.2/ssl/https.lua'
no file '.luarocks/share/lua/5.2/ssl/https/init.lua'
no file '/usr/local/lib/lua/5.2/ssl/https.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.2/ssl/https.so'
no file '/usr/lib/lua/5.2/ssl/https.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './ssl/https.so'
no file '.luarocks/lib/lua/5.2/ssl/https.so'
no file '/usr/local/lib/lua/5.2/ssl.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.2/ssl.so'
no file '/usr/lib/lua/5.2/ssl.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './ssl.so'
no file '.luarocks/lib/lua/5.2/ssl.so'
root@ubuntu:
/TeleSeed#

Where to send initial commands like !id?

Hi. I cannot find any entry point suitable to send initial bot commands. Is there any Bot ID section in the config files? Cause I could not find them either.

Group Don't Make

Hi,I have a big problem...

Why after making seven or eight groups, Creategroup/Createrealm command does not work?

Can't connect with Redis, install/configure it!

The bot keeps printing out this error in red & banhammer doesn't work.
Can't connect with Redis, install/configure it!
i think this guy is having the same issue #62
I've noticed this issue using C9.io on other VPS like Koding or PermiumVPS's banhammer was fine.

Note:
i've already installed Redis and configured it (Do i need special Redis setup?)

[TeleSeed v4] doesn't work properly in a simple group

If I try to use bot in a group, sometimes it not respond to basic command and return randomly this error messages:

  • plugins/ingroup.lua:1582: attempt to index field '?' (a nil value)
  • plugins/ingroup.lua:1646: attempt to index field '?' (a nil value)
  • plugins/msg_checks.lua:14: attempt to index global 'settings' (a nil value)

But not all command was ignored.
I'm alone? Do you want to test something more?

Bot will not work with Supergroups

Upon adding to supergroup:

[02:18] Test Darkmane / Ray Arweinydd #bestarweinydd2016 »»» This group was converted to a supergroup by the administrator. Please update your Telegram app to continue chatting here.
https://telegram.org/update

It then will NOT respond to any commands

problem whith bot

I installed on my server i added my robot in the Super Group does not work but is not actively Please consider as soon as possible And build the robot, but the message was chat not found ???

[URGENT][BIG VULNERABILITY] Can join even when banned

Considering supergroups:

See, like you just banned a user from a group, he/she will be able to add himself/herself back by just sending /join [group id] in pm of the bot! Please fix this thing. Till then, I advise you guys to remove the join thing from inpm.lua Maybe ill submit a PR for a hack after testing it

info.lua

--- by (no_name1998)`

--[[
Print user identification/informations by replying their post or by providing
their username or print_name.
!id is the least reliable because it will scan trough all of members
and print all member with in their print_name.
chat_info can be displayed on group, send it into PM, or save as file then send
it into group or PM.
--]]

do

local function scan_name(extra, success, result)
local founds = {}
for k,member in pairs(result.members) do
if extra.name then
gp_member = extra.name
fields = {'first_name', 'last_name', 'print_name'}
elseif extra.user then
gp_member = string.gsub(extra.user, '@', '')
fields = {'username'}
end
for k,field in pairs(fields) do
if member[field] and type(member[field]) == 'string' then
if member[field]:match(gp_member) then
founds[tostring(member.id)] = member
end
end
end
end
if next(founds) == nil then -- Empty table
send_msg(extra.receiver, (extra.name or extra.user)..' not found on this chat.', ok_cb, false)
else
local text = ''
for k,user in pairs(founds) do
text = text..'name: '..(user.first_name or '')..' '..(user.last_name or '')..'\n'
..'first_name: '..(user.first_name or '')..'\n'
..'last_name: '..(user.last_name or '')..'\n'
..'user_name: @'..(user.username or '')..'\n'
..'ID: '..(user.id or '')..'\n\n'
end
send_msg(extra.receiver, text, ok_cb, false)
end
end

local function action_by_reply(extra, success, result)
local text = 'name: '..(result.from.first_name or '')..' '..(result.from.last_name or '')..'\n'
..'first_name: '..(result.from.first_name or '')..'\n'
..'last_name: '..(result.from.last_name or '')..'\n'
..'user_name: @'..(result.from.username or '')..'\n'
..'ID: '..result.from.id
send_msg(extra.receiver, text, ok_cb, true)
end

local function returnids(extra, success, result)
local chat_id = extra.msg.to.id
local text = '['..result.id..'] '..result.title..'.\n'
..result.members_num..' الاعضاء\n\n'
i = 0
for k,v in pairs(result.members) do
i = i+1
if v.username then
user_name = ' @'..v.username
else
user_name = ''
end
text = text..i..'. ['..v.id..'] '..user_name..' '..(v.first_name or '')..(v.last_name or '')..'\n'
end
if extra.matches == 'pm' then
send_large_msg('user#id'..extra.msg.from.id, text)
elseif extra.matches == 'txt' or extra.matches == 'pmtxt' then
local textfile = '/tmp/chat_info_'..chat_id..'_'..os.date("%y%m%d.%H%M%S")..'.txt'
local file = io.open(textfile, 'w')
file:write(text)
file:flush()
file:close()
if extra.matches == 'txt' then
send_document('chat#id'..chat_id, textfile, rmtmp_cb, {file_path=textfile})
elseif extra.matches == 'pmtxt' then
send_document('user#id'..extra.msg.from.id, textfile, rmtmp_cb, {file_path=textfile})
end
elseif not extra.matches then
send_large_msg('chat#id'..chat_id, text)
end
end

local function run(msg, matches)
local receiver = get_receiver(msg)
if is_chat_msg(msg) then
if msg.text == '!info' then
if msg.reply_id then
if is_momod(msg) then
msgr = get_message(msg.reply_id, action_by_reply, {receiver=receiver})
end
else
local text = 'name: '..(msg.from.first_name or '')..' '..(msg.from.last_name or '')..'\n'
..'first_name: '..(msg.from.first_name or '')..'\n'
..'last_name: '..(msg.from.last_name or '')..'\n'
..'user_name: @'..(msg.from.username or '')..'\n'
..'ID: ' .. msg.from.id
local text = text..'\n\ngroup_name: '
..msg.to.title..' (group_id: '..msg.to.id..')'
return text
end
elseif is_momod(msg) and matches[1] == 'chat' then
if matches[2] == 'pm' or matches[2] == 'txt' or matches[2] == 'pmtxt' then
chat_info(receiver, returnids, {msg=msg, matches=matches[2]})
else
chat_info(receiver, returnids, {msg=msg})
end
elseif is_momod(msg) and string.match(matches[1], '^@.+$') then
chat_info(receiver, scan_name, {receiver=receiver, user=matches[1]})
elseif is_mod(msg) and string.gsub(matches[1], ' ', '') then
user = string.gsub(matches[1], ' ', '
')
chat_info(receiver, scan_name, {receiver=receiver, name=matches[1]})
end
else
return 'You are not in a group.'
end
end

return {
patterns = {
"^[!/]info$",
"^[!/]info (chat) (.)$",
"^[!/]info (.
)$"
},
run = run
}

end

banhammer

ban command doesn't work.
Fix it please

block_user.lua

lua: plugins/block_user.lua:8: attempt to call global 'unblock_user' (a nil value)

please help

media voice

Hi
How can I fix Bug voice?(new)
When I Forward or Send a Voice Message to Bot
It's Turns Off
Pls Reply me
Tnx

Is not working in big supergroups

Since a week or two telegram-cli is not receiving messages from the big supergroups so the bot is not working in that supergroups :/

Development Group's invite link is broken?

It called me "This link is invaild or expried" when I Open https://telegram.me/joinchat/B6GrdT5v9Vn5Ib0qlMvIBw .

Here is Telegram Web's tech info.

Method: messages.checkChatInvite
Url: N/A
Result: {"_":"rpc_error","error_code":400,"error_message":"INVITE_HASH_EXPIRED"}
Stack: Error
at Object.h as invokeApi
at v (https://web.telegram.org/js/app.js:25:31282)
at g (https://web.telegram.org/js/app.js:25:28732)
at m (https://web.telegram.org/js/app.js:25:28121)
at Object.f as start
at new (https://web.telegram.org/js/app.js:26:13653)
at Object.r as instantiate
at https://web.telegram.org/js/app.js:12:15279
at Object.link (https://web.telegram.org/js/app.js:16:12334)
at https://web.telegram.org/js/app.js:11:6148

Problems with bot in stats / photo / mute

hello, I am having problem in stats.lua in Supergroup .. when I give the command he does not show number of users and messages nor dels name is empty .. already in the group will be normal what could this be ???
else piece of photo bot .. give the command tells me to put the photo put talks on altered photo but does not change the picture of the bot v1 worked usual .. q ue can this be ??
and the last mute command in no case give the command works but he says that this muted but the person normal or send photos and videos regular talks,, what could be ???

I'm sorry but I'm using the language translator

Push the GIF bug fix

Please fork the telegram-cli and use your private tg-cli repo, and also push the assertion "0" fail fix to it. This fix seems to be working : vysheng/tg#904
The Owners don't push the fix I don't know Why 😫

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.