Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Latest commit

 

History

History
115 lines (88 loc) · 3.08 KB

README.md

File metadata and controls

115 lines (88 loc) · 3.08 KB

†hê Hêllẞø† 🇮🇳

The-HellBot

⚡ ʟɛɢɛռɖaʀʏ ᴀғ ɦɛʟʟɮօt ⚡

A Smooth & Fast Telegram Userbot Based On Telethon Bot Library.


Deploy Alternatives 🥷🏻

  • Deploy to Koyeb

Follow this format to make your own plugin for HellBot

"""
A sample code to display hello without taking input.
"""
# this is a mandatory import
from . import *

# assigning command
@hell_cmd(pattern="hii$")
async def hi(event):
    # command body
    await eor(event, "Hello!")


# to display in help menu
CmdHelp("hii").add_command(
  "hii", None, "Says Hello!"
).add()

"""
A sample code to display hello with input.
"""
# this is a mandatory import
from . import *

# assigning command
@hell_cmd(pattern="hii(?:\s|$)([\s\S]*)")
async def hi(event):
    # command body
    _input = event.pattern_match.group(1)
    if _input:
        await eor(event, f"Hello! {_input}")
    else:
        await eor(event, "Hello!")


# to display in help menu
CmdHelp("hii").add_command(
    "hii", "<text>", "Display Hello with a input!"
).add()

To get more functions read codes in repo.


Disclaimer

  • We won't be responsible for any kind of ban due to this bot.
  • HellBot was made for fun purpose and to make group management easier.
  • It's your concern if you spam and gets your account banned.
  • Also, Forks won't be entertained.
  • If you fork this repo and edit plugins, it's your concern for further updates.
  • Forking Repo is fine. But if you edit something we will not provide any help.
  • In short, Fork At Your Own Risk.

License

Copyright (C) 2022 The-HellBot

Project HellBot is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.


Credits