├── requirements.txt
├── .gitignore
├── dishook.png
├── tea.yaml
├── LICENSE
├── setup.py
├── README.md
└── dishook.py
/requirements.txt:
--------------------------------------------------------------------------------
1 | requests
2 | colorama
3 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | invalid_codes.txt
2 | valid_codes.txt
--------------------------------------------------------------------------------
/dishook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/im-hanzou/DisHook/HEAD/dishook.png
--------------------------------------------------------------------------------
/tea.yaml:
--------------------------------------------------------------------------------
1 | # https://tea.xyz/what-is-this-file
2 | ---
3 | version: 1.0.0
4 | codeOwners:
5 | - '0xB2EA5821F4624E483E284dA680493291c3DE9EF8'
6 | - '0x271B39d1155E6FB9D6dbEf74CdBF99aa1c5f0B29'
7 | quorum: 1
8 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 Hanzou Urushihara
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/setup.py:
--------------------------------------------------------------------------------
1 | from setuptools import setup, find_packages
2 |
3 | setup(
4 | name='xDisHook',
5 | version='1.0.1',
6 | author='Hanzou',
7 | author_email='hanzou@hanzou.sh',
8 | description='A tool for generating and checking Discord Nitro codes',
9 | long_description=open('README.md').read(),
10 | long_description_content_type='text/markdown',
11 | url='https://github.com/im-hanzou/DisHook',
12 | packages=find_packages(),
13 | classifiers=[
14 | 'Development Status :: 5 - Production/Stable',
15 | 'Intended Audience :: Developers',
16 | 'Topic :: Software Development :: Libraries :: Python Modules',
17 | 'License :: OSI Approved :: MIT License',
18 | 'Programming Language :: Python :: 3',
19 | 'Programming Language :: Python :: 3.7',
20 | 'Programming Language :: Python :: 3.8',
21 | 'Programming Language :: Python :: 3.9',
22 | ],
23 | python_requires='>=3.7',
24 | install_requires=[
25 | 'requests',
26 | 'colorama'
27 | ],
28 | entry_points={
29 | 'console_scripts': [
30 | 'xdishook=xDisHook.main:main_function',
31 | ],
32 | },
33 | )
34 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # DisHook
2 | Python x ChatGPT script. Generates random Discord Nitro codes and test their validity by sending requests to the Discord server. If the generated code is valid, the script will send the code to the specified Discord webhook.
3 |

git clone https://github.com/im-hanzou/DisHook.git from this repository.
9 | - Install modules by running the following command: pip install -r requirements.txt
10 | - Run the script using the following command: python dishook.py
11 | ### Discord webhook URL retrieval
12 | Retreiving discord webhook URL: Discord Webhook
13 | ## Disclaimer
14 | This script was created for educational purposes only. Misuse or inappropriate use of this script is the user's responsibility. The author is not responsible for any negative consequences resulting from inappropriate use of this script. Use it wisely.
15 | # Note
16 | Update: add mode generator only and checker only!