File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ async def _(event):
1111 return
1212 type_of_group = event .pattern_match .group (1 )
1313 group_name = event .pattern_match .group (2 )
14+ if type_of_group == "c" :
15+ descript = "This is a Test Channel created using catuserbot"
16+ else :
17+ descript = "This is a Test Group created using catuserbot"
1418 event = await edit_or_reply (event , "creating......" )
1519 if type_of_group == "b" :
1620 try :
@@ -45,7 +49,7 @@ async def _(event):
4549 r = await event .client (
4650 functions .channels .CreateChannelRequest (
4751 title = group_name ,
48- about = "This is a Test Group created using catuserbot" ,
52+ about = descript ,
4953 megagroup = type_of_group != "c" ,
5054 )
5155 )
Original file line number Diff line number Diff line change @@ -125,14 +125,14 @@ async def on_all_snip_delete(event):
125125CMD_HELP .update (
126126 {
127127 "filters" : "**Plugin :**`filters`\
128- \n \n • **Synatx :** `.filters`\
128+ \n \n • **Syntax :** `.filters`\
129129 \n • **Usage: **Lists all active (of your userbot) filters in a chat.\
130- \n \n • **Synatx :** `.filter` reply to a message with .filter <keyword>\
130+ \n \n • **Syntax :** `.filter` reply to a message with .filter <keyword>\
131131 \n • **Usage: **Saves the replied message as a reply to the 'keyword'.\
132132 \n The bot will reply to the message whenever 'keyword' is mentioned. Works with everything from files to stickers.\
133- \n \n • *Synatx :** `.stop <keyword>`\
133+ \n \n • **Syntax :** `.stop <keyword>`\
134134 \n • **Usage: **Stops the specified keyword.\
135- \n \n • *Synatx :** `.rmfilters` \
135+ \n \n • **Syntax :** `.rmfilters` \
136136 \n • **Usage: **Removes all filters of your userbot in the chat."
137137 }
138138)
You can’t perform that action at this time.
0 commit comments