Compare commits

..

39 Commits

Author SHA1 Message Date
gitea 96102c4854 HEAD (unreleased) since tag 2.0 2025-10-30 16:59:25 +01:00
gitea b526928257 Tag: 2.0 2025-10-30 16:59:24 +01:00
gitea 1ef75678a1 Tag: 1.28
Intermediate commits (oldest → newest):
- Partial + reformatting
- upgrade to latest OpenAI API usage and logging improvements
- refix
- Vibe coding :P
- Merge branch 'main' of https://github.com/migatu/conjurer
- fx
- fx
- ffx
- testing
- ttt
- fix
- aaa
- FX
- aaa
- sa
2025-10-30 16:59:23 +01:00
gitea a6ed8723a5 Tag: 1.27
Intermediate commits (oldest → newest):
- Merge branch 'main' of https://github.com/migatu/conjurer
- Update AI and librarian commands to use 'GENERAL' context"
- Added the following changes to the codebase:
- bgfx
- fx and upgd
- Latex incoming changes
- installer fix
- var fx
- fx to fx
- don't trust ai
- tectonic
- debug
- debug
- disable exc masking
- upgrade
- rollback
- Figure out
- aaa
2025-10-30 16:59:21 +01:00
gitea 2aeb3d286f Tag: 1.26
Intermediate commits (oldest → newest):
- Generated scripts
- new function
- more work needed
- Search client
- serverside
- added server side search
- M
- fix
- fix deploy
- zmiana nazwy
- Params of radio
- Watcher
2025-10-30 16:59:21 +01:00
gitea 6c292a5678 Tag: 1.25
Intermediate commits (oldest → newest):
- New command added that sets logging level dymnamically
- of course fix needed
- Fix
- refactor: comment out unused AutoIndex import and related code
- Add auth to ytdlp
- Modified spotipy for auth
- Fixes after reinstall
- fixx
- Add musician fixes
- Fix in default config
- How to setup radio
2025-10-30 16:59:20 +01:00
gitea f73fd703b7 Tag: 1.24
Intermediate commits (oldest → newest):
- Merge branch 'main' of https://github.com/migatu/conjurer
- Merge branch 'main' of https://github.com/migatu/conjurer
- BGFX
- Function for idv3 and bugfix
- Merge branch 'main' of https://github.com/migatu/conjurer
- Logs additional
- LGFIX
- FIXED!
- Arguments added to the utility.
- Fix old bug
- add exception handling
- Literowka
- Hej hoppsan!
- Add comment
- Fixc Fixc
- Fixit
- Inside joke very boomer much wow
- Fixing logging issues in music_functions.py and other_functions.py
- Maybe this will fix
- test
- test
- another attempt to fix the bug
- Maybe this is the fix ?
- Maybe fix
2025-10-30 16:59:19 +01:00
gitea db48605849 Tag: 1.23 2025-10-30 16:59:18 +01:00
gitea faa5de2a0c Tag: 1.22
Intermediate commits (oldest → newest):
- Fun addition
- BGFX
- fx
- aas
- saving repeatable promtp
- bugfix
- BGFX
- BGFX
- FX
- New deploy
- dsd
- DDD
- Jak wiele literowek mozna zrobic w dwoch slowach
- Testr
- kurwa serio
- serio kurwa ja pierdole niech to kurwa bedzie ostatnia poprawka debilnego błedu w tym pierdolonym kodzie
- 1111
- FX
- -
- Some would say it's ccr. But I'm not i*n.
- tcxy
- THis commit should be theoretically the last
- Fuck whoever designed dicts in python that way
- ied
- All thirteen
- FIX
- TEst
2025-10-30 16:59:17 +01:00
gitea 7cb3d61d72 Tag: 1.21
Intermediate commits (oldest → newest):
- Start of Armia Hammera
- Enum fix
- small fx
- Optional argument fix
- xxx
- fix
- Fix
- ADdded smth
- finished secret dm handling
- bgfx
- safe
2025-10-30 16:59:17 +01:00
gitea 1a33e569ff Tag: 1.20
Intermediate commits (oldest → newest):
- A niech spierdala
- Fix
- fz
- almost there
- and there
- tst
- fx
- nxtfx
- Maybe ready ?
- Deploy
- step forward
- Test
- aha
- Another attempt
- Another one
- Największy hit zespuło 100 tvarzy grzybiarzy - i nie jest o piosenka o zgubieniu czapeczki
- aaaaaaa
- Work ongoing.
- bold commiting at the end of the day
- :)
- fix
- Fix
- tst
- Fix ?
2025-10-30 16:59:16 +01:00
gitea 2841c45883 Tag: 1.19
Intermediate commits (oldest → newest):
- Rich presence
- Assets
- pop goes the pistol
- gx
- Rich presence
- Work ongoing - rich presence and ai assistant
- bgfx
- lgtstfx
2025-10-30 16:59:15 +01:00
gitea 5527a844a3 Tag: 1.18
Intermediate commits (oldest → newest):
- pls 11.11
- mood fixes
- Fajne laski na prawicy są :D :P
- Duplication error
- Fix silence
- silence fx 2
- Fixed live
- first test of secret channel
- tst
- txt
- tst
- Test
- FX
- FAAFO
- Start
- Logfix
- fx
- bgfx
2025-10-30 16:59:14 +01:00
gitea 308875f77e Tag: 1.17
Intermediate commits (oldest → newest):
- attachment test
- fx
- Batch fix
- work ongoing
- cat got more sleep
- Batch download
- FX
- fx
- Batch hopefully
- glbfx
- last fix
- Final fixes in radio
- Merge branch 'main' of https://github.com/migatu/conjurer into main
- Fixes
- Happy Fucking Indepence Day Poland!!!
2025-10-30 16:59:13 +01:00
gitea b8df466e6f Tag: 1.16
Intermediate commits (oldest → newest):
- moving api key to netrc
- New stuff incoming
- Manual external audition
- Let's get this effin party started
- test mic
- tst
- Test
- Test
- fix
- fx
- test
- Refactoring step one
- Deploy script for after refactor
- Fix and upgrade
- bg fx
- fx
- fx
- fx
- Main refactoring
- Deploy script refactor
- fx
- fx2
- bgfx
2025-10-30 16:59:12 +01:00
gitea af29b857b1 Tag: 1.15
Intermediate commits (oldest → newest):
- Testing transcribe
- Additions before wsl purge
- Transcribe cog
- Tst
- fx
- fx
- Fx
- Fix
- Testing for transcribe
- work
- Test
- Att2
- Att 3
- saving
- ffmpeg
- Fsink wsink
- fx
- msink
- tst
- Fix
- 2
- Events
- fx1
- fx2
- fix
- 11
- A
- TR
- Fix
- Fix
- Revert
- fx
- fx
- Fix
- fx
- fx
- fx
- fx
- aaa
- FX
- fx
- :S
- :)
- aaaa
- fx
- fgf
- Fx
- aa
- Fx
- ff
- aa
- as
- zzz
- fx
- :)
- fx
- fx
- addfs
- fa
- Test
- Fixtime
- FX
- Fix
- aa
- FX
- test
- Fa
- fix
- test
- fix
- fx
- aaa
- fix
- fx
- Hack na hacku hackiem pogania
- Fix fo hack
- Fix asyncio sleep
- tst
- tst
- 1
- tst 2
- ii
- Thread
- asa
- Fx
- Fix
- Fx test
- fx
- tst
- asynv
- async
- fx
- fx
- Test
- SAy
- ass
- Bugfix
- fx
- fx
- test
- fx
- fx
- fx
- fx
- Masha wants to code
- tesst
- test
- Fur ktosia!
- Last łan for todej mejbi
- test
- Fixing debug levels
- Clock tests
2025-10-30 16:59:12 +01:00
gitea 7fb69339df Tag: 1.14
Intermediate commits (oldest → newest):
- Music trackin upgrade
- fx
- Fx
- Metadata
- 1
- Fix
- Fixing time mismatch
- Port fix
- fx
- fx
2025-10-30 16:59:11 +01:00
gitea fdbc05c367 Tag: 1.13
Intermediate commits (oldest → newest):
- UPdate for music tracker
- Buffx
- Fix
- Fix
- tst fx
- Fx frmt
- fx frmt
- Fx frmt
- Now playing
- bgfx
- fx
- Fix tracker
- bgfx
- fx
- Fx
2025-10-30 16:59:07 +01:00
gitea 6a45bf8df0 Tag: 1.12
Intermediate commits (oldest → newest):
- Changes for too long messages handling
- Track name broadcast att 1
- Music tracker
- fx
- fx2
- fx
- logg
- fx
2025-10-30 16:59:07 +01:00
gitea a4d81738fe Tag: 1.11
Intermediate commits (oldest → newest):
- NEw util
- Audition
- Fix
- Fixed :)
- Added more logging
- Fix logging0
2025-10-30 16:59:06 +01:00
gitea b2af595122 Tag: 1.10
Intermediate commits (oldest → newest):
- fix of permissions
- path fix
- another approach
- test
- test2
- Test
- Fix
- Skip track
- fix
2025-10-30 16:59:05 +01:00
gitea 6f3eee90bb Tag: 1.9
Intermediate commits (oldest → newest):
- Merge branch 'main' of https://github.com/migatu/conjurer
- Restart radio script
- Radio restart serverside
- Merge branch 'main' of https://github.com/migatu/conjurer
- Typo fix ,
2025-10-30 16:59:04 +01:00
gitea aa0be5d905 Tag: 1.8 2025-10-30 16:59:03 +01:00
gitea a63368adb5 Tag: 1.7
Intermediate commits (oldest → newest):
- Streaming hls
- Fx bug
- Fxs
- Small fixes
- Revert fix
- Small improvements
- Fine tuning
- Fine tune
- Add microphone
- Fixing memory of Conjurer
- Local output
- Fix
- Fx
- Fine tuning
- Adding script logging current tracks in queue
2025-10-30 16:59:02 +01:00
gitea 95db8302e8 Tag: 1.6
Intermediate commits (oldest → newest):
- JINGLES!
- Skipping tracks
- testing skip
- This language is officially insane
2025-10-30 16:59:02 +01:00
gitea a8797df45c Tag: 1.5
Intermediate commits (oldest → newest):
- Hit list queue for radio
- fix
- Documentation of conjurer_librarian
- Reformatting of conjurer_librarian
- Documentation of conjurer_musician
- Formatting of conjurer_musician
- Documentation of radio_conjurer.liq
- Merge branch 'main' of https://github.com/migatu/conjurer
- Removal from tracking
- Fixing librarian result (#6)
- Potential bugfix for some lazycoding in spotipy... Another one. fuck it
- Music tunneling (#7)
- Even more logging in spotify download
- test requests
- Fine tuning
- Optimization bug fix #1
- Fix crossfade
- Crossfadeing ctnd
- Fix
- Starting work on librarian headless mode
2025-10-30 16:59:00 +01:00
gitea 806cada1c1 Tag: 1.4
Intermediate commits (oldest → newest):
- Music service (#5)
- Fine tuning of radiostation
- Logging fix in radio
- Logging fix
- fx
- fx
- fx
- Fix to deprecated
- Fine tuning
- Logging fix on conjurer_librarian
- Fix logging with rotation
- fixing favourites
2025-10-30 16:59:00 +01:00
gitea 04638c9141 Tag: 1.3
Intermediate commits (oldest → newest):
- Almost deployment versio - for full deployment change parameteres in search_bot
- Preparation for deployment
- Main bot (#1)
- Search webservice (#2)
- Music service (#3)
- FIx
2025-10-30 16:58:58 +01:00
gitea 2988bd8205 Tag: 1.2
Intermediate commits (oldest → newest):
- Music search move file server side att 1
- Deploy!
- Fix rotation and fix of playlist
- Serverside work of search
2025-10-30 16:58:58 +01:00
gitea 50986860e9 Tag: 1.1
Intermediate commits (oldest → newest):
- Coroutine fix
- Pornol dl 1
- Pornol dl2
2025-10-30 16:58:57 +01:00
gitea d914711559 Tag: 1.0
Intermediate commits (oldest → newest):
- New files for flask services
- Service
- Minor fix 2
- Waitress
- Linux conf files
- Service
- Bugfixing
- Waitress
- Install options
- Work on deployment
- Bugfixes
- Work on deployment
- name change and othre bugfixes
- Installer
- Test
2025-10-30 16:58:56 +01:00
gitea 1b3c0b8434 Tag: 0.8
Intermediate commits (oldest → newest):
- Parametryzacja "muzyki mojego ludu"
- Async wyszukaj
- More async
- And even more async
- Async fix
- Async
- +1
- -1
- Hejo
- Test chat gpt4
- Nope
- Fix
- Fix 2.0
- Fix
- Additional lines of code
2025-10-30 16:58:55 +01:00
gitea d20013c152 Tag: 0.7
Intermediate commits (oldest → newest):
- Playlist based on chat history
- Fix 1
- Fix 2
- Fix 2.6
2025-10-30 16:58:54 +01:00
gitea e6ccb5e48f Tag: 0.6
Intermediate commits (oldest → newest):
- Library update
- Upgrade gpt model
- Nowy lepszy trunk
- modified
- Kurwa bugfix pod windowsa
- Fixed playlist gen
- Mala poprawka na rozmiar plikow pamieci
- Funkcjonalnosc logowania incydentow w Absinth Eldritch Horror Hammertimespace Continuum
- Reakcje ladacznicy, poprawka na mention w reset the clock
- Dodana procedura asynchronicznej generacji iteratora oraz komentarz w jaki sposob inaczej przerobic fora na asynchroniczny. Przydatne ze wzgledu na to ze szukajka nadal blokuje heartbeat bota - co skutkuje warningnami i wyjatkami
- Linting
- Linting is done
2025-10-30 16:58:53 +01:00
gitea 3a843abccf Tag: 0.5
Intermediate commits (oldest → newest):
- Mention conjurer
- Fixes + upgrade GPT model
- Test heartbeat fix
- Nope. It did not happen
- GPT fixes
- Gpt fixes
- Token counter
- Token amount change
- Fix. Last.
- Fix. Was joking.
- Update fabryczka
2025-10-30 16:58:52 +01:00
gitea 75032b67d0 Tag: 0.4
Intermediate commits (oldest → newest):
- Create python-app.yml
- Create python-package.yml
- Various fixes
- Playlist based on chat history
- Additional logging
- Improvements
- ASync search and moving to fully asynchronous work + responses to config command
- Various fixes
- Test chat gpt4
2025-10-30 16:58:52 +01:00
gitea 87f06d6269 Tag: 0.3
Intermediate commits (oldest → newest):
- Added playlist display
- Bugfixy
- Linting
- Wrong encoding in settings.json
- Kolejna poprawka
- Fix of metadata loading
- Another fix
- Update settings and history
- Small fixes in the paths
2025-10-30 16:58:50 +01:00
gitea 0147b22000 Tag: 0.2
Intermediate commits (oldest → newest):
- Fixed version of spotify_dl
- I also modified yt_dlp. But I do not remember what I changed. Have fun
- Poprawiono obsluge rotowanych logow i troche ulepszono funkcje opowiadania o fabryczcce
- Fucking windows bugfix and playlist gen fix
2025-10-30 16:58:49 +01:00
gitea eba11cc901 Tag: 0.1 2025-10-30 16:58:49 +01:00
37 changed files with 560 additions and 19 deletions
+32
View File
@@ -0,0 +1,32 @@
# Python
__pycache__
*.py[cod]
*.pyo
*.pyd
*.so
# VCS/CI
.git
.gitignore
.gitattributes
.github
# Editor
.vscode
.idea
# Python tooling
.pytest_cache
.mypy_cache
.ruff_cache
.tox
dist
build
*.egg-info
# Local assets
logs
music
data
*.env
*.env.*
+2 -2
View File
@@ -10,8 +10,8 @@ import discord
import numpy as np
from discord.ext import commands, tasks
from conjurer.backup_old_docker.ai_functions import get_random_cyclic_message
from conjurer.backup_old_docker.constants import (
from ai_functions import get_random_cyclic_message
from constants import (
ENCODING,
LAST_SPONTANEOUS_CALL,
LOGFILE,
+3 -3
View File
@@ -10,11 +10,11 @@ import discord
import openai
import requests
from discord.ext import commands
from conjurer.backup_old_docker.other_functions import discord_friendly_send, discord_friendly_reply
from other_functions import discord_friendly_send, discord_friendly_reply
import conjurer.backup_old_docker.ai_functions as ai_functions
from conjurer.backup_old_docker.constants import (
import ai_functions
from constants import (
ASSISTANTS,
DATA,
GRAPHICS_PATH,
+2 -2
View File
@@ -6,8 +6,8 @@ import random
import openai
import tiktoken
import time
from conjurer.backup_old_docker.other_functions import discord_friendly_send
from conjurer.backup_old_docker.constants import (
from other_functions import discord_friendly_send
from constants import (
ASSISTANTS,
CYCLIC_WORDS,
ENCODING,
+45
View File
@@ -0,0 +1,45 @@
version: "3.9"
services:
bot:
build:
context: .
dockerfile: docker/Dockerfile.bot
container_name: conjurer-bot
env_file:
- docker/env/bot.env
volumes:
- ./docker/volumes/bot/config:/data/config
- ./docker/volumes/bot/logs:/data/logs
depends_on:
- musician
- librarian
restart: unless-stopped
ports:
- "5000:5000"
musician:
build:
context: .
dockerfile: docker/Dockerfile.musician
container_name: conjurer-musician
env_file:
- docker/env/musician.env
volumes:
- ./docker/volumes/musician/data:/data
restart: unless-stopped
ports:
- "5001:5000"
librarian:
build:
context: .
dockerfile: docker/Dockerfile.librarian
container_name: conjurer-librarian
env_file:
- docker/env/librarian.env
volumes:
- ./docker/volumes/librarian/data:/data
restart: unless-stopped
ports:
- "5002:5001"
+23
View File
@@ -0,0 +1,23 @@
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements_bot.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
COPY . /app
RUN useradd --create-home appuser \
&& chown -R appuser:appuser /app
USER appuser
CMD ["python", "thin_client.py"]
+24
View File
@@ -0,0 +1,24 @@
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
poppler-utils \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY conjurer_librarian/requirements_librarian.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
COPY . /app
RUN useradd --create-home appuser \
&& chown -R appuser:appuser /app
USER appuser
CMD ["python", "-m", "conjurer_librarian.conjurer_librarian"]
+23
View File
@@ -0,0 +1,23 @@
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements_bot.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
COPY . /app
RUN useradd --create-home appuser \
&& chown -R appuser:appuser /app
USER appuser
CMD ["python", "-m", "conjurer_musician.conjurer_musician"]
+24
View File
@@ -0,0 +1,24 @@
# Discord bot service configuration
DISCORD_TOKEN=HACKME!
OPENAI_API_KEY=HACKME!
CONJURER_API_KEY=HACKME!
# Internal service endpoints
CONJURER_FILE_SERVICE=http://conjurer-musician:5000
CONJURER_LIBRARIAN_SERVICE=http://conjurer-librarian:5001
# Runtime paths mounted via docker-compose volumes
CONJURER_BASE_DIR=/data/config
CONJURER_SETTINGS_FILE=/data/config/settings.json
CONJURER_MEMORY_FILE=/data/config/pamiec.json
CONJURER_MUSIC_MEMORY_FILE=/data/config/pamiec_muzyki.json
CONJURER_SYSTEM_GPT_SETTINGS=/data/config/system_gpt_settings.json
CONJURER_GRAPHICS_PATH=/data/assets/graphics
CONJURER_LOG_FILE=/data/logs/discord.log
CONJURER_LOGSTORE=/data/logs
# Optional external integrations
CONJURER_NETRC_FILE=/data/secrets/.netrc
YOUTUBE_USERNAME=HACKME!
YOUTUBE_PASSWORD=HACKME!
+14
View File
@@ -0,0 +1,14 @@
# Librarian service configuration
CONJURER_API_KEY=HACKME!
CONJURER_MAIN_BOT=http://conjurer-bot:5000
CONJURER_LIBRARIAN_HOST=0.0.0.0
CONJURER_LIBRARIAN_PORT=5001
CONJURER_LIBRARIAN_MAX_RESULTS=500
CONJURER_CROSSREF_MAILTO=HACKME!
CONJURER_LIBRARIAN_LOG=/data/logs/librarian.log
CONJURER_NETRC_FILE=/data/secrets/.netrc
+20
View File
@@ -0,0 +1,20 @@
# Musician service configuration
CONJURER_API_KEY=HACKME!
CONJURER_MAIN_BOT=http://conjurer-bot:5000
CONJURER_MUSIC_TRACKER_ENDPOINT=/prepped_tracks
CONJURER_MUSICIAN_HOST=0.0.0.0
CONJURER_MUSICIAN_PORT=5000
CONJURER_MUSIC_FOLDER=/data/music
CONJURER_PRIORITY_FOLDER=/data/priority
CONJURER_ALL_PLAYLIST=/data/playlists/all_playlist.playlist
CONJURER_HIT_PLAYLIST=/data/playlists/hit.playlist
CONJURER_REQUEST_PLAYLIST=/data/playlists/request.playlist
CONJURER_PRIORITY_PLAYLIST=/data/playlists/priority_queue.playlist
CONJURER_STREAM_TEMPLATE=/data/templates/stream.html
CONJURER_RADIO_LOG=/data/logs/radio.log
CONJURER_PERSISTENCE_LOG=/data/logs/persistence.log
+1 -1
View File
@@ -1,7 +1,7 @@
import os
import discord
from discord.ext import commands
import conjurer.backup_old_docker.file_search_functions as file_search_functions
import file_search_functions
class FileSelectView(discord.ui.View):
def __init__(self, files):
+1 -1
View File
@@ -3,7 +3,7 @@ sudo apt-get install python3-dev
sudo apt-get install portaudio19-dev python3-pyaudio
sudo apt-get install
cd /home/pi || exit
mkdir Conjurer
mdkir Conjurer
cd Conjurer ||exit
python3 -m venv /home/pi/Conjurer/.env
cp /home/pi/conjurer/requirements_bot.txt /home/pi/Conjurer/
+2 -2
View File
@@ -10,7 +10,7 @@ import discord
from discord import app_commands
from discord.ext import commands
from conjurer.backup_old_docker.constants import (
from constants import (
ALLOWED_ROLES,
GUILD_ID,
LATEX_MAX_ATTACH_MB,
@@ -19,7 +19,7 @@ from conjurer.backup_old_docker.constants import (
LATEX_TEX_ENGINE,
OPENAI_MODEL,
)
from conjurer.backup_old_docker.latex_functions import (
from latex_functions import (
compile_single_tex_bytes,
compile_zip_to_zip,
is_safe_asset_name,
+3 -3
View File
@@ -13,9 +13,9 @@ import PyPDF2
import requests
from discord.ext import commands, tasks
from conjurer.backup_old_docker.ai_functions import handle_response
from conjurer.backup_old_docker.communication_subroutine import IN_COMM_Q, OUT_COMM_Q, QueryControl
from conjurer.backup_old_docker.constants import (
from ai_functions import handle_response
from communication_subroutine import IN_COMM_Q, OUT_COMM_Q, QueryControl
from constants import (
DIR_PATH_SADOX,
LIBRARIAN_SERVICE_ADDRESS,
SEND_QUERY,
+1 -1
View File
@@ -9,7 +9,7 @@ import discord
import requests
import yt_dlp
from conjurer.backup_old_docker.constants import (
from constants import (
FILE_SERVICE_ADDRESS,
GET_MP3,
GET_PLAYLIST,
+1 -1
View File
@@ -7,7 +7,7 @@ from typing import Optional
import discord
from discord.ext import commands
from conjurer.backup_old_docker.constants import ACCIDENT_LOG, DATA, ENCODING
from constants import ACCIDENT_LOG, DATA, ENCODING
historia_fabryczki = DATA["fabryczka"]
+1 -1
View File
@@ -8,7 +8,7 @@ import uuid
import asyncio
from datetime import datetime
from conjurer.backup_old_docker.constants import (
from constants import (
RADIO_HARBOR_ADDRESS,
SKIP_TRACK,
FILE_SERVICE_ADDRESS,
+1
View File
@@ -15,6 +15,7 @@ tiktoken
PyNaCl
flask[async]
waitress
clickupython
assemblyai[extras]
SpeechRecognition
git+https://github.com/imayhaveborkedit/discord-ext-voice-recvO
+1
View File
@@ -15,6 +15,7 @@ PyNaCl
flask[async]
PyMuPDF
waitress
clickupython
assemblyai[extras]
SpeechRecognition
git+https://github.com/imayhaveborkedit/discord-ext-voice-recv
+3
View File
@@ -0,0 +1,3 @@
name,type,locations,ap_head,ap_body,ap_larm,ap_rarm,ap_lleg,ap_rleg,max_ag,traits,weight,availability,source,notes
Flak Vest,armor,"Body",0,4,0,0,0,0,,Flak,7,Common,"DH2 CRB","PRZYKŁAD ZASTĄP"
Power Armour (Astartes),armor,"All",8,10,8,8,9,9,,Environmental; Auto-senses,100,"Very Rare","DW CRB","PRZYKŁAD ZASTĄP"
1 name type locations ap_head ap_body ap_larm ap_rarm ap_lleg ap_rleg max_ag traits weight availability source notes
2 Flak Vest armor Body 0 4 0 0 0 0 Flak 7 Common DH2 CRB PRZYKŁAD – ZASTĄP
3 Power Armour (Astartes) armor All 8 10 8 8 9 9 Environmental; Auto-senses 100 Very Rare DW CRB PRZYKŁAD – ZASTĄP
+60
View File
@@ -0,0 +1,60 @@
// DH2 Attack Test v2 — presets: Aim/Range/Fire + Size/Light/Cover
const actor = canvas.tokens.controlled[0]?.actor ?? game.user.character;
if (!actor) return ui.notifications.warn("Zaznacz token albo przypisz postać.");
new Dialog({
title: "🎯 Attack Test (WS/BS)",
content: `
<form>
<div class="form-group"><label>Base Target (WS/BS)</label><input name="base" type="number" value="40"/></div>
<div class="form-group"><label>Aim</label>
<select name="aim"><option value="0">None</option><option value="10">Half (+10)</option><option value="20">Full (+20)</option></select></div>
<div class="form-group"><label>Range</label>
<select name="range">
<option value="0">Standard</option>
<option value="30">Point Blank (+30)</option>
<option value="10">Short (+10)</option>
<option value="-10">Long (-10)</option>
<option value="-30">Extreme (-30)</option>
</select></div>
<div class="form-group"><label>Fire / Attack</label>
<select name="stance">
<option value="0">Standard / Single</option>
<option value="10">Semi (+10)</option>
<option value="-10">Full Auto (-10)</option>
<option value="30">All Out (Melee +30)</option>
</select></div>
<div class="form-group"><label>Target Size</label>
<select name="size">
<option value="0">Average</option>
<option value="10">Hulking (+10)</option>
<option value="20">Enormous (+20)</option>
<option value="30">Massive (+30)</option>
<option value="-10">Puny (-10)</option>
</select></div>
<div class="form-group"><label>Lighting</label>
<select name="light"><option value="0">Normal</option><option value="10">Good (+10)</option><option value="-10">Poor (-10)</option></select></div>
<div class="form-group"><label>Cover</label>
<select name="cover"><option value="0">None</option><option value="-10">Light (-10)</option><option value="-20">Heavy (-20)</option></select></div>
<div class="form-group"><label>Other Modifiers</label><input name="mod" type="number" value="0"/></div>
</form>`,
buttons: {
roll: {
label: "Roll",
callback: async (html) => {
const get = n => Number(html.find(`[name="${n}"]`).val());
const base = get("base");
const total = base + get("aim") + get("range") + get("stance") + get("size") + get("light") + get("cover") + get("mod");
const r = await(new Roll("1d100")).roll({async:true});
const ok = r.total <= total;
const margin = Math.abs(total - r.total);
const dox = ok ? 1 + Math.floor(margin/10) : Math.floor(margin/10);
const table = `
<table style="width:100%;border-collapse:collapse">
<tr><td><b>Target</b></td><td>${total}</td><td><b>Roll</b></td><td>${r.total}</td></tr>
<tr><td><b>Result</b></td><td colspan="3">${ok?'<span style="color:green">SUCCESS</span>':'<span style="color:red">FAIL</span>'} ${ok?dox+' DoS':dox+' DoF'}</td></tr>
</table>`;
r.toMessage({speaker: ChatMessage.getSpeaker({actor}), flavor: `🎯 <b>Attack Test</b><br/>${table}`});
}
}
}
}).render(true);
+6
View File
@@ -0,0 +1,6 @@
Roll,Result
1,Energy/Head — wpis 1
2,Energy/Head — wpis 2
3,Energy/Head — wpis 3
4,Energy/Head — wpis 4
5,Energy/Head — wpis 5
1 Roll Result
2 1 Energy/Head — wpis 1
3 2 Energy/Head — wpis 2
4 3 Energy/Head — wpis 3
5 4 Energy/Head — wpis 4
6 5 Energy/Head — wpis 5
+50
View File
@@ -0,0 +1,50 @@
// 🧠 Focus Power (DH2) — WP test + Phenomena/Perils with mode presets
const actor = canvas.tokens.controlled[0]?.actor ?? game.user.character;
if (!actor) return ui.notifications.warn("Zaznacz token.");
new Dialog({
title: "🧠 Focus Power",
content: `
<form>
<div class="form-group"><label>Willpower (target)</label><input name="wp" type="number" value="40"/></div>
<div class="form-group"><label>Psychic Rating (PR)</label><input name="pr" type="number" value="3"/></div>
<div class="form-group"><label>Mode</label>
<select name="mode"><option value="fettered">Fettered (no PP; PR/2)</option><option value="unfettered" selected>Unfettered (PP on doubles)</option><option value="push">Push (always PP; +PR)</option></select></div>
<div class="form-group"><label>Power difficulty/gear/etc. (flat mod)</label><input name="flat" type="number" value="0"/></div>
<div class="form-group"><label>Perils threshold</label><input name="thr" type="number" value="75"/></div>
</form>`,
buttons: {
roll: { label: "Roll", callback: async html => {
const wp = Number(html.find('[name="wp"]').val());
const pr = Number(html.find('[name="pr"]').val());
const mode = html.find('[name="mode"]').val();
const flat = Number(html.find('[name="flat"]').val());
const thr = Number(html.find('[name="thr"]').val());
let effPR = pr, ppmod = 0, ppAlways = false, note = "";
if (mode==="fettered"){ effPR = Math.max(1, Math.floor(pr/2)); note="(Fettered: PR/2, brak Phenomena)"; }
if (mode==="push"){ effPR = pr+3; ppmod=10; ppAlways = true; note="(Push: +3 PR, Phenomena zawsze, +10)"; }
const target = wp + flat;
const roll = await (new Roll("1d100")).roll({async:true});
const ok = roll.total <= target;
const dos = ok ? 1 + Math.floor((target - roll.total)/10) : Math.floor((roll.total - target)/10);
const doubles = (roll.total%11===0) || (roll.total===100);
const info = `<table style="width:100%;border-collapse:collapse">
<tr><td><b>Target</b></td><td>${target}</td><td><b>Roll</b></td><td>${roll.total}</td></tr>
<tr><td><b>Result</b></td><td colspan="3">${ok?'<span style="color:green">SUCCESS</span>':'<span style="color:red">FAIL</span>'} ${ok?dos+' DoS':dos+' DoF'} ${doubles?' <b>DOUBLES</b>':''}</td></tr>
<tr><td><b>Eff. PR</b></td><td>${effPR}</td><td><b>Range hint</b></td><td>${effPR*10} m (jeśli moc tak działa)</td></tr>
</table>`;
roll.toMessage({speaker: ChatMessage.getSpeaker({actor}), flavor:`🧠 <b>Focus Power</b> ${note}<br/>${info}`});
const needPP = (mode==="unfettered" && doubles) || (mode==="push") ;
if (needPP){
const tbl = game.tables.getName("Psychic Phenomena");
if (tbl){
const r = await (new Roll(`1d100 + ${ppmod}`)).roll({async:true});
await tbl.draw({displayResults:true, roll:r});
if (r.total >= thr){
const per = game.tables.getName("Perils of the Warp");
if (per) await per.draw({displayResults:true});
}
} else ChatMessage.create({content:"Utwórz RollTable: <b>Psychic Phenomena</b> (+ <b>Perils of the Warp</b>)"});
}
}}
}
}).render(true);
+22
View File
@@ -0,0 +1,22 @@
// 🎯 Hit Location (DH mapping by reversed roll)
new Dialog({
title:"🎯 Hit Location",
content:`<form>
<div class="form-group"><label>Attack d100 roll</label><input name="roll" type="number" value="37"/></div>
</form>`,
buttons:{
go:{label:"Resolve", callback: html=>{
const n = Math.max(1, Math.min(100, Number(html.find('[name="roll"]').val())));
const rev = Number(String(n).padStart(2,"0").split("").reverse().join(""));
let loc = "";
if (rev<=10) loc="Head";
else if (rev<=20) loc="Right Arm";
else if (rev<=30) loc="Left Arm";
else if (rev<=70) loc="Body";
else if (rev<=85) loc="Right Leg";
else loc="Left Leg";
ChatMessage.create({content:`🎯 <b>Hit Location</b>: roll ${n} → reversed ${rev} → <b>${loc}</b>`});
}}
}
}).render(true);
+6
View File
@@ -0,0 +1,6 @@
const text=`<b>House Rules — DH2 chassis</b><br/>
Unnatural mapowanie: dawne ×2 bonus Unnatural (+X) tak, by SB/TB odzwierciedlały linię źródłową.<br/>
Pancerz Astartes: zachowaj AP; zużycie zasilania jako +1 Fatigue co X scen zamiast liczenia minut.<br/>
Aptitudes: archetypy z RT/DW/BC mają przypisane 23 Aptitudes DH2 dla kosztów XP.<br/>
Psy: testy i PR z DH2 dla wszystkich; GK posiada Aegis Discipline (1×/scena reroll Perils) + 12 signature powers z DW.<br/>
RT Acquisition DH2 Influence z modyfikatorami kontekstowymi (teatr działań, mandat Inkwizycji, czas).`;ChatMessage.create({content:text});
+11
View File
@@ -0,0 +1,11 @@
// 🚦 Initiative for selected tokens (1d10 + AG Bonus prompt)
if (!canvas.tokens.controlled.length) return ui.notifications.warn("Zaznacz co najmniej jeden token.");
const combat = game.combat ?? await Combat.implementation.create({});
for (const t of canvas.tokens.controlled){
if (!combat.combatants.some(c=>c.tokenId===t.id)) await combat.createEmbeddedDocuments("Combatant",[ {tokenId:t.id, sceneId: canvas.scene.id, hidden:false} ]);
const ag = Number(await Dialog.prompt({title:`AG Bonus for ${t.name}`, content:`<input type="number" value="4">`, label:"OK"}));
const r = await (new Roll(`1d10 + ${ag}`)).roll({async:true});
await combat.setInitiative(combat.combatants.find(c=>c.tokenId===t.id).id, r.total);
r.toMessage({flavor:`🚦 <b>Initiative</b> — ${t.name}: ${r.total}`});
}
ui.notifications.info("Inicjatywy ustawione.");
+21
View File
@@ -0,0 +1,21 @@
Roll,Result
1-5,Perils 15 — WPISZ
6-10,Perils 610 — WPISZ
11-15,Perils 1115 — WPISZ
16-20,Perils 1620 — WPISZ
21-25,Perils 2125 — WPISZ
26-30,Perils 2630 — WPISZ
31-35,Perils 3135 — WPISZ
36-40,Perils 3640 — WPISZ
41-45,Perils 4145 — WPISZ
46-50,Perils 4650 — WPISZ
51-55,Perils 5155 — WPISZ
56-60,Perils 5660 — WPISZ
61-65,Perils 6165 — WPISZ
66-70,Perils 6670 — WPISZ
71-75,Perils 7175 — WPISZ
76-80,Perils 7680 — WPISZ
81-85,Perils 8185 — WPISZ
86-90,Perils 8690 — WPISZ
91-95,Perils 9195 — WPISZ
96-100,Perils 96100 — WPISZ
1 Roll Result
2 1-5 Perils 1–5 — WPISZ
3 6-10 Perils 6–10 — WPISZ
4 11-15 Perils 11–15 — WPISZ
5 16-20 Perils 16–20 — WPISZ
6 21-25 Perils 21–25 — WPISZ
7 26-30 Perils 26–30 — WPISZ
8 31-35 Perils 31–35 — WPISZ
9 36-40 Perils 36–40 — WPISZ
10 41-45 Perils 41–45 — WPISZ
11 46-50 Perils 46–50 — WPISZ
12 51-55 Perils 51–55 — WPISZ
13 56-60 Perils 56–60 — WPISZ
14 61-65 Perils 61–65 — WPISZ
15 66-70 Perils 66–70 — WPISZ
16 71-75 Perils 71–75 — WPISZ
17 76-80 Perils 76–80 — WPISZ
18 81-85 Perils 81–85 — WPISZ
19 86-90 Perils 86–90 — WPISZ
20 91-95 Perils 91–95 — WPISZ
21 96-100 Perils 96–100 — WPISZ
+3
View File
@@ -0,0 +1,3 @@
name,type,discipline,action,test,range,sustained,effect,source,notes
Smite,power,Biomancy,Half,"WP Challenging (+0)","PR*10m",No,"1d10+PR E; Tearing","DH2 CRB","PRZYKŁAD ZASTĄP"
Foreboding,power,Divination,Reaction,"Per Difficult (-10)","Self",No,"Use as Evasion; DoS rules","DH2 CRB","PRZYKŁAD ZASTĄP"
1 name type discipline action test range sustained effect source notes
2 Smite power Biomancy Half WP Challenging (+0) PR*10m No 1d10+PR E; Tearing DH2 CRB PRZYKŁAD – ZASTĄP
3 Foreboding power Divination Reaction Per Difficult (-10) Self No Use as Evasion; DoS rules DH2 CRB PRZYKŁAD – ZASTĄP
+21
View File
@@ -0,0 +1,21 @@
Roll,Result
1-5,PP 15 — WPISZ
6-10,PP 610 — WPISZ
11-15,PP 1115 — WPISZ
16-20,PP 1620 — WPISZ
21-25,PP 2125 — WPISZ
26-30,PP 2630 — WPISZ
31-35,PP 3135 — WPISZ
36-40,PP 3640 — WPISZ
41-45,PP 4145 — WPISZ
46-50,PP 4650 — WPISZ
51-55,PP 5155 — WPISZ
56-60,PP 5660 — WPISZ
61-65,PP 6165 — WPISZ
66-70,PP 6670 — WPISZ
71-75,PP 7175 — WPISZ
76-80,PP 7680 — WPISZ
81-85,PP 8185 — WPISZ
86-90,PP 8690 — WPISZ
91-95,PP 9195 — WPISZ
96-100,PP 96100 — WPISZ
1 Roll Result
2 1-5 PP 1–5 — WPISZ
3 6-10 PP 6–10 — WPISZ
4 11-15 PP 11–15 — WPISZ
5 16-20 PP 16–20 — WPISZ
6 21-25 PP 21–25 — WPISZ
7 26-30 PP 26–30 — WPISZ
8 31-35 PP 31–35 — WPISZ
9 36-40 PP 36–40 — WPISZ
10 41-45 PP 41–45 — WPISZ
11 46-50 PP 46–50 — WPISZ
12 51-55 PP 51–55 — WPISZ
13 56-60 PP 56–60 — WPISZ
14 61-65 PP 61–65 — WPISZ
15 66-70 PP 66–70 — WPISZ
16 71-75 PP 71–75 — WPISZ
17 76-80 PP 76–80 — WPISZ
18 81-85 PP 81–85 — WPISZ
19 86-90 PP 86–90 — WPISZ
20 91-95 PP 91–95 — WPISZ
21 96-100 PP 96–100 — WPISZ
+28
View File
@@ -0,0 +1,28 @@
// 🩹 Toggle conditions on selected tokens (Foundry v13)
const choices = [
{id:"fatigued", label:"Fatigued"},
{id:"stunned", label:"Stunned"},
{id:"prone", label:"Prone"},
{id:"frightened", label:"Frightened (Fear)"}
];
const opts = choices.map(c=>`<label><input type="checkbox" name="c" value="${c.id}"> ${c.label}</label>`).join("<br/>");
new Dialog({
title:"🩹 Conditions",
content:`<form>${opts}<div class="form-group"><label>Mode</label>
<select name="mode"><option value="toggle">Toggle</option><option value="on">Apply</option><option value="off">Remove</option></select></div></form>`,
buttons:{
go:{label:"Apply",callback: html=>{
const ids = Array.from(html.find('input[name="c"]:checked')).map(e=>e.value);
const mode = html.find('[name="mode"]').val();
const getEf = id => CONFIG.statusEffects.find(e=>e.id===id) ?? {id};
canvas.tokens.controlled.forEach(t=>{
ids.forEach(id=>{
if (mode==="toggle") t.toggleEffect(getEf(id));
else if (mode==="on") t.actor?.effects?.some(e=>e.getFlag("core","statusId")===id) ? null : t.toggleEffect(getEf(id));
else if (mode==="off") t.actor?.effects?.some(e=>e.getFlag("core","statusId")===id) ? t.toggleEffect(getEf(id)) : null;
});
});
}}
}
}).render(true);
+38
View File
@@ -0,0 +1,38 @@
// 💥 Quick Damage — supports Tearing, Proven(X), Primitive(X), flat mod
new Dialog({
title:"💥 Damage Roller",
content: `
<form>
<div class="form-group"><label>Flat modifier (e.g., +3)</label><input name="mod" type="number" value="0"/></div>
<div class="form-group"><label>Traits</label>
<label><input type="checkbox" name="tear"> Tearing</label>
<label><input type="checkbox" name="prov"> Proven</label>
<input name="provV" type="number" value="0" style="width:60px" placeholder="X"/>
<label><input type="checkbox" name="prim"> Primitive</label>
<input name="primV" type="number" value="0" style="width:60px" placeholder="X"/>
</div>
</form>`,
buttons:{
go:{label:"Roll", callback: async html=>{
const mod = Number(html.find('[name="mod"]').val());
const tearing = html.find('[name="tear"]')[0].checked;
const proven = html.find('[name="prov"]')[0].checked ? Number(html.find('[name="provV"]').val()) : 0;
const primitive = html.find('[name="prim"]')[0].checked ? Number(html.find('[name="primV"]').val()) : 0;
// base die (d10) with tearing (best of 2)
const r1 = await (new Roll("1d10")).roll({async:true});
const r2 = tearing ? await (new Roll("1d10")).roll({async:true}) : null;
let die = tearing ? Math.max(r1.total, r2.total) : r1.total;
// apply Proven/Primitive
if (proven>0) die = Math.max(die, proven);
if (primitive>0) die = Math.min(die, primitive);
const rf = (die===10); // potential Zealous Hatred trigger
const total = die + mod;
let flavor = `💥 <b>Damage</b><br/>Die: ${die}${tearing?` (Tearing ${r1.total}/${r2.total.total})`:''} + Mod ${mod} = <b>${total}</b>`;
if (proven>0) flavor += `<br/>Proven(${proven}) zastosowano`;
if (primitive>0) flavor += `<br/>Primitive(${primitive}) zastosowano`;
if (rf) flavor += `<br/><b>⚡ Natural 10</b> — rozważ Zealous Hatred.`;
ChatMessage.create({speaker: ChatMessage.getSpeaker(), content: flavor});
}}
}
}).render(true);
+26
View File
@@ -0,0 +1,26 @@
// 📚 Create placeholder RollTables for Crits + Psychic Phenomena/Perils (with icons)
const icon = {Energy:"⚡", Impact:"🔨", Rending:"🗡️", Explosive:"💥"};
const dmgTypes = ["Energy","Impact","Rending","Explosive"];
const locs = ["Head","Body","Left Arm","Right Arm","Left Leg","Right Leg"];
async function makeCrit(dtype, loc){
const name = `Crit: ${dtype} - ${loc}`;
if (game.tables.getName(name)) return;
const results = [];
for (let i=1;i<=5;i++){
results.push({type:0, text:`${icon[dtype]||""} ${dtype}/${loc} — wpis ${i} (uzupełnij z PDF)`, weight:1, range:[i,i]});
}
await RollTable.implementation.create({name, formula:"1d5", replacement:true, displayRoll:false, results});
}
async function makeWide(name, emoji){
if (game.tables.getName(name)) return;
const results = [];
for (let i=0;i<20;i++){
const lo=i*5+1, hi=i*5+5;
results.push({type:0, text:`${emoji} ${name} ${lo}-${hi} — wpis (uzupełnij z PDF)`, weight:1, range:[lo,hi]});
}
await RollTable.implementation.create({name, formula:"1d100", replacement:true, displayRoll:false, results});
}
for (const d of dmgTypes) for (const l of locs) await makeCrit(d,l);
await makeWide("Psychic Phenomena","🌀");
await makeWide("Perils of the Warp","☠️");
ui.notifications.info("Utworzono puste tabele: Crits (4×6) + Phenomena + Perils.");
+3
View File
@@ -0,0 +1,3 @@
name,type,tier,aptitudes,prereq,effect,source,notes
Ambidextrous,talent,1,"Agility; Offence","Ag 30","-10 to off-hand penalty","DH2 CRB","PRZYKŁAD ZASTĄP"
Aegis Discipline (GK),talent,2,"Willpower; Defence","Psyker","Reroll Perils 1×scene","HOUSE","DODAJ WŁASNY OPIS"
1 name type tier aptitudes prereq effect source notes
2 Ambidextrous talent 1 Agility; Offence Ag 30 -10 to off-hand penalty DH2 CRB PRZYKŁAD – ZASTĄP
3 Aegis Discipline (GK) talent 2 Willpower; Defence Psyker Reroll Perils 1×scene HOUSE DODAJ WŁASNY OPIS
+3
View File
@@ -0,0 +1,3 @@
name,type,subtype,damage,pen,range,rof,qualities,weight,availability,source,notes
Lasgun M36,weapon,Basic,"1d10+3",0,100m,"S/3/","Reliable",4,Common,"DH2 CRB p.142","PRZYKŁAD ZASTĄP"
Astartes Bolter,weapon,Basic,"1d10+9",4,90m,"S/2/","Tearing; Unreliable",9,Rare,"DW CRB","PRZYKŁAD ZASTĄP"
1 name type subtype damage pen range rof qualities weight availability source notes
2 Lasgun M36 weapon Basic 1d10+3 0 100m S/3/– Reliable 4 Common DH2 CRB p.142 PRZYKŁAD – ZASTĄP
3 Astartes Bolter weapon Basic 1d10+9 4 90m S/2/– Tearing; Unreliable 9 Rare DW CRB PRZYKŁAD – ZASTĄP
+33
View File
@@ -0,0 +1,33 @@
// ⚡ Zealous Hatred helper (DH2) — roll 1d5 crit OR add +1d5 dmg
new Dialog({
title: "⚡ Zealous Hatred",
content: `
<form>
<div class="form-group"><label>Wound damage after Armour/TB?</label>
<select name="penetrated"><option value="yes">Yes roll Critical (1d5)</option><option value="no">No add +1d5 damage</option></select></div>
<div class="form-group"><label>Damage Type</label>
<select name="dtype"><option>Energy</option><option>Impact</option><option>Rending</option><option>Explosive</option></select></div>
<div class="form-group"><label>Hit Location</label>
<select name="loc"><option>Head</option><option>Body</option><option>Left Arm</option><option>Right Arm</option><option>Left Leg</option><option>Right Leg</option></select></div>
<div class="form-group"><label>Table name (optional override)</label><input name="tname" type="text" placeholder="Crit: Energy - Head"/></div>
</form>`,
buttons: {
go: { label: "Resolve", callback: async html => {
const pen = html.find('[name="penetrated"]').val();
if (pen === "yes") {
const dtype = html.find('[name="dtype"]').val();
const loc = html.find('[name="loc"]').val();
const override = html.find('[name="tname"]').val()?.trim();
const name = override || `Crit: ${dtype} - ${loc}`;
const r = await (new Roll("1d5")).roll({async:true});
const table = game.tables.getName(name);
if (table) await table.draw({displayResults:true, roll:r});
else r.toMessage({flavor:`⚡ <b>Zealous Hatred</b>: Critical ${r.total} — brak tabeli <b>${name}</b> (utwórz lub zmień nazwę).`});
} else {
const r = await (new Roll("1d5")).roll({async:true});
r.toMessage({flavor:"⚡ <b>Zealous Hatred</b>: Dodaj do obrażeń <b>+1d5</b> (atak nie przebił Soak)."});
}
}}
}
}).render(true);
+2 -2
View File
@@ -18,8 +18,8 @@ from logging import handlers
import discord
from discord.ext import commands
from conjurer.backup_old_docker.communication_subroutine import comm_subroutine
from conjurer.backup_old_docker.constants import ENCODING, LOGFILE, TOKEN
from communication_subroutine import comm_subroutine
from constants import ENCODING, LOGFILE, TOKEN
logger = logging.getLogger("discord")
logger.setLevel(logging.INFO)
handler = handlers.RotatingFileHandler(