Skip to content

Commit c25b88a

Browse files
author
telemanagerplus
committed
Update TMP_bot.lua
1 parent d4af30f commit c25b88a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

bot/TMP_bot.lua

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
44

55
require("./bot/utils")
66

7-
VERSION = '2'
7+
VERSION = '3'
88

99
-- This function is called when tg receive a msg
1010
function 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')

0 commit comments

Comments
 (0)