Coder Social home page Coder Social logo

lucifer9088 / bootiful Goto Github PK

View Code? Open in Web Editor NEW

This project forked from the-hellbot/oldplugins

0.0 0.0 0.0 3.27 MB

A plugins repo for Telethon version of Hellbot.

Home Page: https://github.com/The-HellBot/HellBot

License: GNU Affero General Public License v3.0

Shell 0.01% Python 100.00%

bootiful's Introduction

†hê Hêllẞø† 🇮🇳

The-HellBot

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

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


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


bootiful's People

Contributors

hellboy-op avatar xrnav avatar lucifer9088 avatar errorshivansh avatar shinchan7222 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.