Compare commits

...

4 commits

Author SHA1 Message Date
6eeea1343f Merge tag 'v0.1.0' into develop
Erste Veröffentlichung
2023-11-25 01:03:28 +01:00
9e782da823 Merge branch 'release/0.1.0' 2023-11-25 01:03:06 +01:00
3c3f97cddc Dockerfile + LOG_LEVEL 2023-11-25 01:02:55 +01:00
32b098dc76 LICENSE, README 2023-11-25 00:04:47 +01:00
4 changed files with 26 additions and 4 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM python:3.11-slim
# env setup
WORKDIR /usr/local/src/lenaverse_bot
# install lenaverse_bot
COPY . ./
RUN set -ex; \
# remove example app
rm -rf /app; \
\
python -m pip --no-cache-dir install ./
# run as unprivileged user
USER nobody
CMD [ "lenaverse-bot" ]

View file

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2023 Yavook!de Copyright (c) 2023 Lenaisten.de
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

View file

@ -1,3 +1,8 @@
# vscode-python3 # lenaverse-bot
Use this template to jumpstart python development using Visual Studio Code! lenaverse-bot ist ein Discord-Bot, der den Lenaisten e.V. im LENAVERSE Discord vertritt.
Berechtigte Mitglieder können über den `/post`-Befehl Ankündigungen in ausgewählten Channels veröffentlichen.
Außerdem gibt es einige öffentliche Befehle, mit denen die Benutzer Aktuelles über den Verein erfahren können.
Allen Befehlen kann ein Präfix vorangestellt werden, sodass `/post` zB. als `/ev_post`.

View file

@ -6,4 +6,4 @@ import discord
discord.utils.setup_logging() discord.utils.setup_logging()
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)
_logger.setLevel(os.getenv("LOG_LEVEL", logging.WARN)) _logger.setLevel(os.getenv("LOG_LEVEL", logging.INFO))