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.
|
||||
|
||||
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."""
|
||||
|
||||
import os
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# Copyright (c) Paillat-dev
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
"""Example showing how to work with modals in Pycord REST."""
|
||||
|
||||
import asyncio
|
||||
|
||||
@@ -49,16 +49,18 @@ source_archive = "https://github.com/Paillat-dev/pycord-rest/archive/{commit_has
|
||||
name = "pycord-rest-bot"
|
||||
|
||||
[tool.hatch.build]
|
||||
packages = ["src/pycord_rest"]
|
||||
include = [
|
||||
"src/pycord_rest/",
|
||||
]
|
||||
exclude = [
|
||||
".copywrite.hcl",
|
||||
".github",
|
||||
".python-version",
|
||||
"uv.lock",
|
||||
]
|
||||
include = [
|
||||
"src/pycord_rest/",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/pycord_rest"]
|
||||
|
||||
[tool.pyright]
|
||||
pythonVersion = "3.12"
|
||||
|
||||
Reference in New Issue
Block a user