Skip to content

Commit 05e5620

Browse files
authored
fix some typos and channel description (TgCatUB#151)
1 parent f8206e3 commit 05e5620

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

userbot/plugins/create.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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
)

userbot/plugins/filters.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,14 @@ async def on_all_snip_delete(event):
125125
CMD_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
\nThe 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
)

0 commit comments

Comments
 (0)