mirror of
https://github.com/Paillat-dev/pycord-rest.git
synced 2026-01-02 00:56:19 +00:00
📄 Add copyright and license information to example scripts
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
# Copyright (c) Paillat-dev
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""Basic Discord bot example using Pycord REST.
|
"""Basic Discord bot example using Pycord REST.
|
||||||
|
|
||||||
This is a minimal example showing how to create slash commands.
|
This is a minimal example showing how to create slash commands.
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
# Copyright (c) Paillat-dev
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""Example demonstrating how to use buttons with Pycord REST."""
|
"""Example demonstrating how to use buttons with Pycord REST."""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
# Copyright (c) Paillat-dev
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""Example showing how to work with modals in Pycord REST."""
|
"""Example showing how to work with modals in Pycord REST."""
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|||||||
@@ -49,16 +49,18 @@ source_archive = "https://github.com/Paillat-dev/pycord-rest/archive/{commit_has
|
|||||||
name = "pycord-rest-bot"
|
name = "pycord-rest-bot"
|
||||||
|
|
||||||
[tool.hatch.build]
|
[tool.hatch.build]
|
||||||
packages = ["src/pycord_rest"]
|
include = [
|
||||||
|
"src/pycord_rest/",
|
||||||
|
]
|
||||||
exclude = [
|
exclude = [
|
||||||
".copywrite.hcl",
|
".copywrite.hcl",
|
||||||
".github",
|
".github",
|
||||||
".python-version",
|
".python-version",
|
||||||
"uv.lock",
|
"uv.lock",
|
||||||
]
|
]
|
||||||
include = [
|
|
||||||
"src/pycord_rest/",
|
[tool.hatch.build.targets.wheel]
|
||||||
]
|
packages = ["src/pycord_rest"]
|
||||||
|
|
||||||
[tool.pyright]
|
[tool.pyright]
|
||||||
pythonVersion = "3.12"
|
pythonVersion = "3.12"
|
||||||
|
|||||||
Reference in New Issue
Block a user