Giter VIP home page Giter VIP logo

thezigzagproject's Introduction

The ZigZag project!

WARNING: ZigZag v1 is completely abandoned and will receive no further updates!

If you wish to use the ZigZag project for easier and faster interaction with Telegram API, use https://github.com/WebShark025/ZigZag-v2-Base


The official ZigZag project!

This page will get updated after the first stable release.

Installation

To install the bot, execute these commands one by one:

git clone https://github.com/WebShark025/TheZigZagProject
cd TheZigZagProject
chmod +x install.sh
sudo ./install.sh

Launch the bot once: ./launch.sh then stop it (Ctrl + C)

A Copy of locale.py.new & config.py.new will be made => locale.py & config.py.

Edit those as you need.

Then launch the bot normaly. To do so, simply execute ./launch.sh

If you have problems, visit Manual installation

Commands

Command Description Permission
/help & /start Returns the start message Members
/test & /toast (BetaVersionsOnly) Just replies a message Members
/echo text Echoes the text Members
/feedback Sends users feedback Members
/sendcontact Sends user contact to bot admin Members
/id Sends user ID & name (if in group, groups ID too) Members
/calc Maths! :D Members
/time Returns time (in IRST) Members
/support Joines the support chat. Members
/leave Leaves the support chat. Members
/meme Meme! :O... Members
/short URL Shortner Members
/tocontact String to contact converter! Members
/mp3tag Changes MP3 file tags Members
/addreply Adds a reply to chatwith system! Members
/weather Weather! Members
/qrcode QR Code creator Members
/adminhelp Admin commands help Admins
/members List of members & banned users Admins
/bc Broadcast message to all members Admins
/ban userid Bans a user Admins
/unban userid Unbans a user Admins
/force_user_leave userid Forces a user to leave support chat Admins

More commands comming soon!

Use ZigZag's base for your bot!

If you are interested in how ZigZag works and you want to write a Python bot using ZigZag's base, you can do this:

Copy install.sh, bot.py, locale.new.py, config.new.py, plugins/start.py, plugins/callback_handler.py, plugins/message_handler.py and launch.sh, Clean those three plugins up, and use it for yourself :)

Note: v2 is comming soon, and it will be a FULL RECODE of the project, BUT, I'm writing it in the best way I can, so the only small thing you need to do to the plugins you wrote for ZigZag, is to change its patterns (I mean @bot.handlemessage...). Just wanted you guys to know :) Full instructions will be published when the new update arrives.

Contact me

https://telegram.me/WebShark25

The ZigZag official channel in Telegram: @TheZigZagProject

The ZigZag official bot in Telegram: @TheZigZagBot

Credits

Special thanks to Iman Daneshi for the idea.

Thanks to ThisIsAmir for some part of his codes.

Thanks to flo for its awesome chat-with code.

And thanks to eternnoir for his awesome API!

thezigzagproject's People

Contributors

webshark025 avatar

Stargazers

russinow avatar Jitendra kumar avatar Sergey Chudakov avatar Thiago Santana avatar kubada avatar smh404 avatar Мухаммад Алифф Муаззам avatar MrKiaN avatar RememberTheAir avatar  avatar Seyed Amir Hossein avatar  avatar

Watchers

russinow avatar Jitendra kumar avatar  avatar  avatar  avatar

thezigzagproject's Issues

NameError: name 'reload' is not defined

Hi, i'm trying to execute the bot using the launch.sh, but it shows me an error:

$ ./launch.sh
(SO DANGEROUS) Do you want to use auto launch? (to kill it=HOLD Ctrl+C) y

Traceback (most recent call last):
File "bot.py", line 22, in
reload(sys)
NameError: name 'reload' is not defined
Bot has crashed! Launching it again.
Traceback (most recent call last):
File "bot.py", line 22, in
reload(sys)

What should i do to solve this isse ?

Regards,

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.