Coder Social home page Coder Social logo

callocgd / dailychatbot-template Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 26 KB

A Simple Script To use as a Template for Making Geometry Dash Daily-Chat Bots in a Clean and fun way with Type-hinting for pyright and more...

License: MIT License

Python 100.00%
bot-framework bots gdpy geometry-dash python daily-chat

dailychatbot-template's Introduction

DailyChatBot-Template

A Simple Script To use as a Template for Making Geometry Dash Daily-Chat Bots in a Clean and fun way with Type-hinting for pyright and more...

Example for making Daily-Chat-Bots

All you have to do is subclass the bot class made. If you understand how to code classes and use the attrs python library this will be extremely easy for you to use. Type-hinting has already been provided thanks to gd.py by netkit...

You can get really creative with these tools. If you really put your mind to it. The possibilities are endless...

@define(slots=False)
class ExampleBot(Bot):
    """Example Daily Chat Bot, (You can use this as a Template if you really want...)"""
    # NOTE: if you need some globals put them into your attrs class object it's why 
    # I designed it this way...
    my_cache_example_variable:dict = {}
    async def on_comment(self, level: Level, comment: LevelComment):
        # How to get comment's text...
        text = comment.content

        if text.startswith("/echo"):
            echoing = text.strip("/echo")

            test = "@" + comment.author.name + " " + echoing
            # How to reply to a comment 
            # NOTE: I already handled comment-ban-checks in the other class-object...
            await level.comment(test)

How to run your newly made subclassed Bot

Requirements

  1. Get An Email account that hasn't been used to sign-up for a geometry dash account (yet)
  2. Sign-up for the account (Preferably over a proxy or vpn if at all possible...)
  3. Hold onto the username and password so that the bot can login to the account and start running

Executing your bot

if __name__ == "__main__":
    # When you've made your own subclass you can use this method to run your bot, 
    # The code will prompt what is needed to be filled out as a bonus...
    ExampleBot(kill_history_on_ban=True, vpn=False).run()

Some Premade-settings as shown in this example are here to help you when you run your bot. And I (Calloc) have made it simple but effective to make bots without worrying about the other stuff involved as the other libraries provided take care of everything for you...

NOTES

  • Please Remeber to Use a proxy or VPN Before using the tools I've provided to you, it is very important to have a proxy or VPN because comment-bans are tied to the last IP address used.
  • Using these tools can be seen by the Eldermods as malicious so please use at your own risk! You have been warned!
  • I was inspired by the many hilarious bots I've seen in GD over the many years that I thought it would be nice if I made a library to make it easier than ever to make your own bots that you can deploy with no hassle at all...
  • The Bot is designed to shutdown once banned and if you want to resume it you either have to wait out the cooldown or roate to another account if you wish to coninue...

TODOS

  • Make Discordpy Styled Callbacks and Event Wrappers and function-wrappers in the future

dailychatbot-template's People

Contributors

callocgd avatar

Stargazers

Sevenworks avatar  avatar  avatar

Watchers

 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.