MCPcopy Create free account
hub / github.com/VJBots/VJ-Forward-Bot / forward

Function forward

plugins/regix.py:218–229  ·  view source on GitHub ↗
(user, bot, msg, m, sts, protect)

Source from the content-addressed store, hash-verified

216# Ask Doubt on telegram @KingVJ01
217
218async def forward(user, bot, msg, m, sts, protect):
219 try:
220 await bot.forward_messages(
221 chat_id=sts.get('TO'),
222 from_chat_id=sts.get('FROM'),
223 protect_content=protect,
224 message_ids=msg)
225 except FloodWait as e:
226 await edit(user, m, 'ᴘʀᴏɢʀᴇssɪɴɢ', e.value, sts)
227 await asyncio.sleep(e.value)
228 await edit(user, m, 'ᴘʀᴏɢʀᴇssɪɴɢ', 5, sts)
229 await forward(bot, msg, m, sts, protect)
230
231# Don't Remove Credit Tg - @VJ_Botz
232# Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ

Callers 2

pub_Function · 0.85
restart_pending_forwadsFunction · 0.85

Calls 2

editFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected