mirror of
https://code.lenaisten.de/Lenaisten/lenaverse-bot.git
synced 2024-11-22 15:03:01 +00:00
Merge tag 'v0.1.0' into develop
Erste Veröffentlichung
This commit is contained in:
commit
6eeea1343f
4 changed files with 26 additions and 4 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal 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" ]
|
2
LICENSE
2
LICENSE
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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`.
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue