mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Fix chat username and session name
This commit is contained in:
parent
6d2d34617a
commit
61b36898a4
1 changed files with 3 additions and 3 deletions
|
|
@ -9,11 +9,11 @@ from pyrogram import Client, Emoji, Filters
|
||||||
USER = "**{}**"
|
USER = "**{}**"
|
||||||
MESSAGE = "{} Welcome to [Pyrogram](https://docs.pyrogram.ml/)'s group chat {{}}!".format(Emoji.SPARKLES)
|
MESSAGE = "{} Welcome to [Pyrogram](https://docs.pyrogram.ml/)'s group chat {{}}!".format(Emoji.SPARKLES)
|
||||||
|
|
||||||
app = Client("dan_prod")
|
enabled_groups = Filters.chat("PyrogramChat")
|
||||||
|
|
||||||
enabled_groups = Filters.chat("PyrogramLounge")
|
|
||||||
last_welcomes = {}
|
last_welcomes = {}
|
||||||
|
|
||||||
|
app = Client("my_account")
|
||||||
|
|
||||||
|
|
||||||
@app.on_message(enabled_groups & Filters.new_chat_members)
|
@app.on_message(enabled_groups & Filters.new_chat_members)
|
||||||
def welcome(client, message):
|
def welcome(client, message):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue