Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: docker/setup-buildx-action@v3.12.0

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v3.6.0
uses: docker/login-action@v3.7.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

ci:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

ARG PYTHON_VERSION=3.12
Expand Down
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

services:
Expand Down
2 changes: 1 addition & 1 deletion config.example.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

#file: noinspection SpellCheckingInspection
Expand Down
2 changes: 1 addition & 1 deletion scripts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from . import check_listings, convert_config
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from .__main__ import main
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import argparse
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/listings/DiscordAppDirectory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import nodriver as uc
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/listings/DiscordBotListCom.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT


Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/listings/DiscordBotsGg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import nodriver as uc
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/listings/DiscordMe.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT


Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/listings/DiscordsCom.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import nodriver as uc
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/listings/DisforgeCom.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import nodriver as uc
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/listings/Listing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from abc import ABC, abstractmethod
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/listings/TopGg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import nodriver as uc
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/listings/WumpusStore.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import nodriver as uc
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/listings/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from .DiscordAppDirectory import DiscordAppDirectory
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_listings/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import argparse
Expand Down
2 changes: 1 addition & 1 deletion scripts/convert_config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from .__main__ import main
Expand Down
2 changes: 1 addition & 1 deletion scripts/convert_config/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

import argparse
Expand Down
2 changes: 1 addition & 1 deletion scripts/convert_config/convert.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Copyright (c) NiceBots all rights reserved
# Copyright NiceBots all rights reserved 2024, 0
2 changes: 1 addition & 1 deletion src/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import os
Expand Down
2 changes: 1 addition & 1 deletion src/config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from typing import TYPE_CHECKING, Any
Expand Down
2 changes: 1 addition & 1 deletion src/config/bot_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import contextlib
Expand Down
2 changes: 1 addition & 1 deletion src/config/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from typing import Any, Literal, overload, override
Expand Down
2 changes: 1 addition & 1 deletion src/custom/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import contextlib
Expand Down
2 changes: 1 addition & 1 deletion src/database/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
2 changes: 1 addition & 1 deletion src/database/config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

import ssl
Expand Down
2 changes: 1 addition & 1 deletion src/database/migrations/models/0_20241224165004_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from tortoise import BaseDBAsyncClient
Expand Down
2 changes: 1 addition & 1 deletion src/database/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from .guild import Guild
Expand Down
2 changes: 1 addition & 1 deletion src/database/models/guild.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from tortoise import fields
Expand Down
2 changes: 1 addition & 1 deletion src/database/models/user.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from tortoise import fields
Expand Down
2 changes: 1 addition & 1 deletion src/database/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Copyright (c) NiceBots all rights reserved
# Copyright NiceBots all rights reserved 2024, 0
2 changes: 1 addition & 1 deletion src/database/utils/atomics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from collections.abc import Callable
Expand Down
2 changes: 1 addition & 1 deletion src/database/utils/preload.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT
from collections.abc import Callable, Sequence
from functools import partial
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Copyright (c) NiceBots all rights reserved
# Copyright NiceBots all rights reserved 2024, 0
2 changes: 1 addition & 1 deletion src/extensions/add-dm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from .main import default, setup
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/add-dm/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import discord
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/branding/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from .branding import default, setup
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/branding/branding.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import logging
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/help/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots all rights reserved
# Copyright NiceBots all rights reserved 2024, 0
from collections import defaultdict
from functools import cached_property
from typing import Any, Final, final
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/help/pages/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from itertools import chain
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/help/pages/classes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from src.i18n.classes import RawTranslation, Translation
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/help/translations.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots all rights reserved
# Copyright NiceBots all rights reserved 2024, 0
strings:
quick_tips_title:
en-US: Tips & Tricks
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/listings/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from .main import default, setup
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/listings/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from typing import Any, override
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/nice_errors/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from .main import default, setup
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/nice_errors/handlers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from .base import ErrorHandlerManager
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/nice_errors/handlers/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import contextlib
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/nice_errors/handlers/cooldown.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from typing import Any, final, override
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/nice_errors/handlers/forbidden.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from typing import Any, final, override
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/nice_errors/handlers/generic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

from typing import Any, final, override
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/nice_errors/handlers/not_found.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

import contextlib
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/nice_errors/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from typing import Any, final
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/nice_errors/translations.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots
# Copyright NiceBots 2024, 0
# SPDX-License-Identifier: MIT

strings:
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/ping/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from .ping import default, on_startup, setup, setup_webserver
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/ping/ping.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import aiohttp
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/ping/translations.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

commands:
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/status-post/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from .main import default, setup
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/status-post/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import math
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from .classes import apply_locale
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/classes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from collections.abc import Generator, Iterator
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from typing import TYPE_CHECKING
Expand Down
2 changes: 1 addition & 1 deletion src/log/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

from .logger import logger, patch
Expand Down
2 changes: 1 addition & 1 deletion src/log/logger.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import logging
Expand Down
2 changes: 1 addition & 1 deletion src/patcher.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) NiceBots.xyz
# Copyright NiceBots.xyz 2024, 0
# SPDX-License-Identifier: MIT

import os
Expand Down
Loading