File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
44
55require (" ./bot/utils" )
66
7- VERSION = ' 2 '
7+ VERSION = ' 3 '
88
99-- This function is called when tg receive a msg
1010function on_msg_receive (msg )
@@ -77,8 +77,6 @@ function msg_valid(msg)
7777 return false
7878 end
7979
80- ---- -----------------------------Self Bot by @ali_ghoghnoos
81-
8280
8381 if msg .from .id == our_id then
8482 print (' \27 [36mNot valid: Msg from our id\27 [39m' )
@@ -264,13 +262,14 @@ function create_config( )
264262 " tex" ,
265263 " version" ,
266264 " welcome" ,
265+ " set_type"
267266 },
268267 sudo_users = {100577715 },-- Sudo users
269268 disabled_channels = {},
270269 moderation = {data = ' data/moderation.json' },
271- about_text = [[
270+ text1 = [[
272271]] ,
273- help_text = [[
272+ text2 = [[
274273]]
275274 }
276275 serialize_to_file (config , ' ./data/config.lua' )
You can’t perform that action at this time.
0 commit comments