Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
613668a
1
Parent(s):
4cbb3d3
Update greetings.py
Browse files
Powers/plugins/greetings.py
CHANGED
@@ -208,7 +208,7 @@ async def resetgb(_, m: Message):
|
|
208 |
if m and not m.from_user:
|
209 |
return
|
210 |
text = "Sad to see you leaving {first}.\nTake Care!"
|
211 |
-
db.set_goodbye_text(text)
|
212 |
await m.reply_text("Ok Done!")
|
213 |
return
|
214 |
|
@@ -219,7 +219,7 @@ async def resetwlcm(_, m: Message):
|
|
219 |
if m and not m.from_user:
|
220 |
return
|
221 |
text = "Hey {first}, welcome to {chatname}!"
|
222 |
-
db.set_welcome_text(text)
|
223 |
await m.reply_text("Done!")
|
224 |
return
|
225 |
|
|
|
208 |
if m and not m.from_user:
|
209 |
return
|
210 |
text = "Sad to see you leaving {first}.\nTake Care!"
|
211 |
+
db.set_goodbye_text(text,None)
|
212 |
await m.reply_text("Ok Done!")
|
213 |
return
|
214 |
|
|
|
219 |
if m and not m.from_user:
|
220 |
return
|
221 |
text = "Hey {first}, welcome to {chatname}!"
|
222 |
+
db.set_welcome_text(text,None)
|
223 |
await m.reply_text("Done!")
|
224 |
return
|
225 |
|