This repository has been archived by the owner on Sep 23, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Rerelease under permissive license]
- Old source remains available under prior license on the v3 branch - Anyone using this still at this point doesn't need the warning bells, it's been long enough that if someone is still using it, they are aware, and there isn't much discoverability of this for new users anymore. - A handful of the original cogs are not being re-released for various reasons. - The guildjoinrestrict cog ships with a new identifier as part of modernizing the code suitable for a release. No attempt is made at preserving the prior settings.
- Loading branch information
0 parents
commit ebf7b44
Showing
91 changed files
with
11,026 additions
and
0 deletions.
There are no files selected for viewing
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,24 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[*.{yml,yaml,toml}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.py] | ||
indent_style = space | ||
max_line_length = 88 | ||
|
||
[*.pyi] | ||
indent_style = space | ||
max_line_length = 88 | ||
|
||
[*.md] | ||
indent_style = space | ||
indent_size = 2 |
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 @@ | ||
* text eol=lf |
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,27 @@ | ||
|
||
This document provides community guidelines for a safe, respectful, productive, and collaborative place for any person who is willing to contribute to the code provided in this respository. | ||
|
||
The document applies in all “collaborative spaces” in which the code is being collaborated on, which is defined as communications channels used for purposes of collaboration on the code (such as issue comments, submitted patches, commit comments, etc.). | ||
|
||
The guidelines here reflect the values which are to be protected here. | ||
|
||
1. Good ideas can come from anywhere. | ||
2. Code should work for communities, not the other way around. | ||
3. Code should not adversely impact the goodwill of the services it relies on. | ||
4. If there is something wrong, don't ignore the issue. | ||
5. People can work together to build something which extends beyond themselves. | ||
|
||
With those values in mind, the guidelines which contributors should follow: | ||
|
||
1. Participants should be tolerant of others. | ||
2. Personal views and beliefs are not to be used to excuse harassment or any other behavior which is harmful to others collaborating. | ||
3. Behaviour which a reasonable individual could consider to be harassment will not be tolerated. | ||
4. When code is criticized, the criticism should be founded in the code alone. It should never be used to single out a contributor. | ||
5. Critisism of code should be for the purpose of improving the project. | ||
6. Code should be criticized (with the goal of protecting the project and it's users) if there is something wrong with it. | ||
|
||
Those who violate the guidelines as written, as well as those who intentionally tow the line to violate the values expressed which these guidelines protect will be removed. | ||
|
||
The curent point of contact for any issues arising with this is sinbadcogs-conduct@michaelhall.tech | ||
This address will be monitored for so long as it is included as the point of contact. | ||
Should it change at a later date, the new address will be reflected in this document. |
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 @@ | ||
# Contributing | ||
|
||
Hey, thanks for taking an interest in this. | ||
|
||
If you'd like to make a pull request or contribute issue wise | ||
please keep the following in mind before doing so | ||
|
||
1. It is unlikely that any new features will be added. This repo is largely in maintenence only mode. | ||
|
||
2. The python source files within conform with [black](https://github.com/ambv/black). | ||
A makefile (and .bat) are provided for conviniece. | ||
These options are correct for the version of black listed in requirements | ||
Any PRs made should conform to this. | ||
|
||
3. Any code which interacts with external APIs must avoid making known bad API requests. | ||
Any PR which simplifies code, but sacrifices this using a try/except block will be rejected. | ||
(N.B. try/except blocks are still usable, | ||
but avoiding the known bad cases first is a requirement if it involves an external service) | ||
|
||
4. If your PR resolves or is otherwise related to an open issue, please link to it. | ||
|
||
5. If it's not about the technical portion of the code, please refrain from commenting unless your opinion has been solicited directly by a code owner. | ||
|
||
6. If you have a personal issue, leave it at the door. It won't be given an audience here. | ||
|
||
7. If this is a security issue please contact me at "sinbadcogs-security@michaelhall.tech", while this is largely abandoned, I'm willing to ensure security fixes can be applied. | ||
|
||
Thanks again! |
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,12 @@ | ||
# These are supported funding model platforms | ||
|
||
github: mikeshardmind | ||
patreon: | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
otechie: # Replace with a single Otechie username | ||
custom: https://www.paypal.me/mikeshardmind |
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,101 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.vscode/ | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
.hypothesis/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# IPython Notebook | ||
.ipynb_checkpoints | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# celery beat schedule file | ||
celerybeat-schedule | ||
|
||
# dotenv | ||
.env | ||
|
||
# virtualenv | ||
venv/ | ||
ENV/ | ||
.venv/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# editors | ||
.vscode/ | ||
.idea/ | ||
|
||
# mytemplates | ||
template/ | ||
|
||
# extras | ||
.mypy_cache/ |
Oops, something went wrong.
ebf7b44
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sinbad, this is awesome to see. Your cogs are awesome and have helped me learn a lot. Would be nice to see you apart of another bot project. I agree though with your decision to not work on them more. Red is a toxic community that genuinely should be avoided by qualified developers. Cheers