forked from TheDarkLordz/SpyderzzBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
97 changed files
with
13,892 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# These are supported funding model platforms | ||
|
||
github: [baalajimaestro, raphielscape, mryacha] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
custom: # Replace with a single custom sponsorship URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Python Version** | ||
Provide exact python version used | ||
|
||
**Additional context** | ||
Add any other context about the problem here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
config.env | ||
__pycache__/* | ||
brains.check | ||
learning-data-root.check | ||
userbot.db | ||
userbot.session | ||
userbot.session-journal | ||
userbot/__pycache__/* | ||
userbot/modules/__pycache__/* | ||
userbot/modules/rextester/__pycache__/* | ||
userbot/modules/sql_helper/__pycache__/* | ||
.progress | ||
.vscode/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
neofetch | ||
chromium-chromedriver | ||
chromium-browser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Code of Conduct | ||
|
||
All participants of RaphielGang are expected to abide by our Code of Conduct, | ||
both online and during in-person events that are hosted and/or associated with RaphielGang. | ||
|
||
|
||
### The Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we pledge to make participation | ||
in our project and our community a harassment-free experience for everyone, regardless of age, | ||
body size, disability, ethnicity, gender identity and expression, level of experience, | ||
nationality, personal appearance, race, religion, or sexual identity and orientation. | ||
|
||
|
||
### The Standards | ||
|
||
Examples of behaviour that contributes to creating a positive environment include: | ||
|
||
* **Be welcoming**: We strive to be a community that welcomes and supports people of all backgrounds and identities. This includes, but is not limited to members of any race, ethnicity, culture, national origin, colour, immigration status, social and economic class, educational level, sex, sexual orientation, gender identity and expression, age, size, family status, political belief, religion, and mental and physical ability. | ||
* **Be considerate**: Your work will be used by other people, and you in turn will depend on the work of others. Any decision you take will affect users and colleagues, and you should take those consequences into account when making decisions. Remember that we're a world-wide community, so you might not be communicating in someone else's primary language. | ||
* **Be respectful**: Not all of us will agree all the time, but disagreement is no excuse for poor behavior and poor manners. We might all experience some frustration now and then, but we cannot allow that frustration to turn into a personal attack. It’s important to remember that a community where people feel uncomfortable or threatened is not a productive one. | ||
* **Gracefully accepting constructive criticism**: Not everyone are perfect, you can get some critism of your works from us, but it's not means that we don't accepting your contribution, we just want you to fixing it and making it better. | ||
* **Referring to people by their preferred pronouns/words**, but we do not have standardized gender-neutral pronouns/words, so your milleage may vary. | ||
* **Do not attack somebody because you have a different opinion** All opinions are accepted as long as they are reasonable, and everyone have right to shouting their opinion. | ||
* **Just chill :D** | ||
* **Don't forget, nobody is perfect, mistakes can be made** | ||
* **Equality is not a privilege, it's a rule!** | ||
|
||
### Examples of unacceptable behaviour by participants include: | ||
|
||
* **Trolling, insulting/derogatory comments, public or private harassment** | ||
* **Publishing others' private information (Doxing)** such as a physical or electronic address, without explicit permission | ||
* **Not being respectful to reasonable communication boundaries** such as 'leave me alone,' 'go away,' or 'Fuck off.' | ||
* **The usage of sexualised language or imagery and unwelcome sexual attention or advances** | ||
* **Demonstrating the graphics or any other content you know may be considered disturbing** | ||
* **Assuming or promoting any kind of inequality** including but not limited to: age, body size, disability, ethnicity, gender identity and expression, nationality and race, personal appearance, religion, or sexual identity and orientation | ||
* **Drug promotion of any kind** | ||
* **Attacking personal tastes** | ||
* **Other conduct which you know could reasonably be considered inappropriate in a professional setting** | ||
|
||
|
||
### Enforcement | ||
|
||
Violations of the Code of Conduct may be reported by sending an email to [[email protected]](mailto:[email protected]). | ||
All reports will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. | ||
Further details of specific enforcement policies may be posted separately. | ||
|
||
We hold the right and responsibility to remove comments or other contributions that | ||
are not aligned to this Code of Conduct, or to ban temporarily or permanently any members | ||
for other behaviours that they deem inappropriate, threatening, offensive, or harmful. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# We're using Alpine stable | ||
FROM alpine:edge | ||
|
||
# | ||
# We have to uncomment Community repo for some packages | ||
# | ||
RUN sed -e 's;^#http\(.*\)/v3.9/community;http\1/v3.9/community;g' -i /etc/apk/repositories | ||
|
||
# Installing Python | ||
RUN apk add --no-cache --update \ | ||
bash \ | ||
build-base \ | ||
bzip2-dev \ | ||
curl \ | ||
figlet \ | ||
gcc \ | ||
g++ \ | ||
git \ | ||
sudo \ | ||
aria2 \ | ||
util-linux \ | ||
chromium \ | ||
chromium-chromedriver \ | ||
jpeg-dev \ | ||
libffi-dev \ | ||
libpq \ | ||
libwebp-dev \ | ||
libxml2 \ | ||
libxml2-dev \ | ||
libxslt-dev \ | ||
linux-headers \ | ||
musl \ | ||
neofetch \ | ||
openssl-dev \ | ||
postgresql \ | ||
postgresql-client \ | ||
postgresql-dev \ | ||
openssl \ | ||
pv \ | ||
jq \ | ||
wget \ | ||
python \ | ||
python3 \ | ||
python3-dev \ | ||
readline-dev \ | ||
sqlite \ | ||
ffmpeg \ | ||
sqlite-dev \ | ||
sudo \ | ||
zlib-dev | ||
|
||
RUN pip3 install --upgrade pip setuptools | ||
|
||
# Copy Python Requirements to /app | ||
|
||
RUN sed -e 's;^# \(%wheel.*NOPASSWD.*\);\1;g' -i /etc/sudoers | ||
RUN adduser userbot --disabled-password --home /home/userbot | ||
RUN adduser userbot wheel | ||
USER userbot | ||
RUN mkdir /home/userbot/userbot | ||
RUN mkdir /home/userbot/bin | ||
RUN git clone https://github.com/spyderzz/Userbot /home/userbot/userbot | ||
WORKDIR /home/userbot/userbot | ||
ADD ./requirements.txt /home/userbot/userbot/requirements.txt | ||
|
||
# | ||
# Copies session and config(if it exists) | ||
# | ||
COPY ./sample_config.env ./userbot.session* ./config.env* /home/userbot/userbot/ | ||
|
||
# | ||
# Clone helper scripts | ||
# | ||
RUN curl -s https://raw.githubusercontent.com/yshalsager/megadown/master/megadown -o /home/userbot/bin/megadown && sudo chmod a+x /home/userbot/bin/megadown | ||
RUN curl -s https://raw.githubusercontent.com/yshalsager/cmrudl.py/master/cmrudl.py -o /home/userbot/bin/cmrudl && sudo chmod a+x /home/userbot/bin/cmrudl | ||
ENV PATH="/home/userbot/bin:$PATH" | ||
|
||
# | ||
# Install requirements | ||
# | ||
RUN sudo pip3 install -r requirements.txt | ||
ADD . /home/userbot/userbot | ||
RUN sudo chown -R userbot /home/userbot/userbot | ||
RUN sudo chmod -R 777 /home/userbot/userbot | ||
CMD ["python3","-m","userbot"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
RAPHIELSCAPE PUBLIC LICENSE | ||
Version 1.b, January 2019 | ||
|
||
Copyright (C) 2019 Raphielscape Open Source Holding LLC. | ||
|
||
RAPHIELSCAPE PUBLIC LICENSE | ||
A. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
|
||
0. You must give any other recipients of the Work or Derivative Works a copy of this License; and | ||
1. You must cause any modified files to carry prominent notices stating that You changed the files; and | ||
2. You must retain, in the Source form of any Derivative Works that You distribute, | ||
all copyright, patent, trademark, and attribution notices from the Source form of the Work; and | ||
3. Respecting the owner of works that being distributed in any ways | ||
|
||
You may add Your own copyright statement to Your modifications and may provide | ||
additional or different license terms and conditions for use, reproduction, | ||
or distribution of Your modifications, or for any such Derivative Works as a whole, | ||
provided Your use, reproduction, and distribution of the Work otherwise complies | ||
with the conditions stated in this License. | ||
|
||
B. DISCLAIMER OF WARRANTY | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR | ||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS | ||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT | ||
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
|
||
C. REVISED VERSION OF THIS LICENSE | ||
|
||
The Raphielscape Open Source Holding LLC. may publish revised and/or new versions of the | ||
Raphielscape Public License from time to time. Such new versions will be similar in spirit | ||
to the present version, but may differ in detail to address new problems or concerns. | ||
|
||
Each version is given a distinguishing version number and version letter. If the Program specifies | ||
that a certain numbered version of the Raphielscape Public License "or any later version" applies | ||
to it, you have the option of following the terms and conditions either of that numbered version or of | ||
any later version published by the Raphielscape Open Source Holding LLC. If the Program does not specify a | ||
version number of the Raphielscape Public License, you may choose any version ever published | ||
by the Raphielscape Open Source Holding LLC. | ||
|
||
END OF LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
worker: python3 -m userbot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<h1 align="center">Project Paperplane Extended</h1> | ||
<h3 align="center">A modular Telegram userbot running on Python 3.6+ with an sqlalchemy database.</h3> | ||
<h4 align="center">Based on RaphielGang's <a href="https://github.com/RaphielGang/Telegram-UserBot">Paperplane</a> Telegram userbot...</h4> | ||
<h4 align="center">...or rather, it's Paperplane + insane extras from the community.</h4> | ||
<p align="center"><a href="#how-to-host">How To Host</a> | <a href="#updates-and-support">Updates and Support</a> | <a href="#credits">Credits</a> | <a href="#license">License</a></p> | ||
<p align="center"> </p> | ||
<h2 align="center">How To Host</h2> | ||
<h5 align="center">The easiest way to deploy this derpfest!</h5> | ||
<p align="center"><a href="https://heroku.com/deploy?template=https://github.com/Spyderzz/Userbot/tree/master"> <img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy to Heroku" /></a></p> | ||
<p align="center"> </p> | ||
<h2 align="center">Credits</h2> | ||
<p align="center">Huge thanks to <a href="https://github.com/AvinashReddy3108/PaperplaneExtended/graphs/contributors">everyone</a> who have helped make this userbot awesome!!</p> | ||
<p align="center"> </p> | ||
<h2 align="center">Updates and Support</h2> | ||
<p align="center">Join our <a href="https://t.me/PaperplaneExtended">Telegram Channel</a> for update notifications!</p> | ||
<p align="center">Also join our <a href="https://t.me/PaperplaneExtendedSupport">Telegram Support Group</a> for help and support!</p> | ||
<p align="center"> </p> | ||
<h2 align="center">License</h2> | ||
<p align="center"><a href="https://github.com/Spyderzz/Userbot/blob/master/LICENSE">Raphielscape Public License</a> - Version 1.c, June 2019</p> |
Oops, something went wrong.