Compare commits

..

20 Commits

Author SHA1 Message Date
a9795d0d9b oleoleole
All checks were successful
Update Bot / deploy-via-sftp (push) Successful in 11s
Update Bot / restart-bot (push) Successful in 5s
2025-10-25 02:32:54 +02:00
1ee266de55 eu confio pt. 2
All checks were successful
Update Bot / deploy-via-sftp (push) Successful in 13s
Update Bot / restart-bot (push) Successful in 6s
2025-10-25 02:30:53 +02:00
27c1bf357e venga
All checks were successful
Update Bot / deploy-via-sftp (push) Successful in 11s
Update Bot / restart-bot (push) Successful in 6s
2025-10-25 02:18:37 +02:00
1200aa59f2 tengo beef pa los veganos tengo dinero murciano
Some checks failed
Update Bot / restart-bot (push) Has been cancelled
Update Bot / deploy-via-sftp (push) Has been cancelled
2025-10-25 02:12:00 +02:00
b6a98492e2 por favor
Some checks failed
Update Bot / restart-bot (push) Has been cancelled
Update Bot / deploy-via-sftp (push) Has been cancelled
2025-10-25 02:07:31 +02:00
4f27d4f70a tengo sueño
Some checks failed
Update Bot / restart-bot (push) Has been cancelled
Update Bot / deploy-via-sftp (push) Has been cancelled
2025-10-25 02:05:35 +02:00
56cb582c12 aaaaaaaaaaaaaaaaaaaaa
Some checks failed
Update Bot / restart-bot (push) Has been cancelled
Update Bot / deploy-via-sftp (push) Has been cancelled
2025-10-25 02:04:10 +02:00
c23b84ab6d ya tocaba
Some checks failed
Update Bot / restart-bot (push) Has been cancelled
Update Bot / deploy-via-sftp (push) Has been cancelled
2025-10-25 02:00:39 +02:00
2a975337ce grasia papa dio
Some checks failed
Update Bot / restart-bot (push) Has been cancelled
Update Bot / deploy-via-sftp (push) Has been cancelled
2025-10-25 01:58:56 +02:00
41b5c9dcb5 intento numero no sé
Some checks failed
Update Bot / deploy-via-sftp (push) Has been cancelled
Update Bot / restart-bot (push) Has been cancelled
2025-10-25 01:57:54 +02:00
8166ab3e72 ola
Some checks failed
Update Bot / deploy-via-sftp (push) Has been cancelled
Update Bot / restart-bot (push) Has been cancelled
2025-10-25 01:49:36 +02:00
2b9ab1cb28 ola
Some checks failed
Update Bot / restart-bot (push) Has been cancelled
Update Bot / deploy-via-sftp (push) Has been cancelled
2025-10-25 01:46:33 +02:00
2afb6e3997 ola
Some checks failed
Update Bot / deploy-via-sftp (push) Has been cancelled
Update Bot / restart-bot (push) Has been cancelled
2025-10-25 01:45:25 +02:00
004e58b1ff ayuda.
Some checks failed
Update Bot / deploy-via-sftp (push) Has been cancelled
Update Bot / restart-bot (push) Has been cancelled
2025-10-25 01:43:37 +02:00
4745939a72 a
Some checks failed
Update Bot / deploy-via-sftp (push) Has been cancelled
Update Bot / restart-bot (push) Has been cancelled
2025-10-25 01:38:59 +02:00
26b4a78aee Actualizar .gitea/workflows/deploy-new.yml
Some checks failed
Update Bot / deploy-via-sftp (push) Has been cancelled
Update Bot / restart-bot (push) Has been cancelled
2025-10-24 19:16:48 +02:00
15930dae50 eu confio
Some checks failed
Update Bot / restart-bot (push) Has been cancelled
Update Bot / deploy-via-sftp (push) Has been cancelled
2025-10-24 19:13:57 +02:00
c99495c113 probando probando
Some checks failed
Update Bot / restart-bot (push) Has been cancelled
Update Bot / deploy-via-sftp (push) Has been cancelled
2025-10-24 16:15:23 +00:00
afcb257671 Actualizar cmds.txt
Some checks failed
Update Bot / deploy-via-sftp (push) Has been cancelled
Update Bot / restart-bot (push) Has been cancelled
todos los gif (a saber si van)
2025-10-22 15:54:12 +00:00
eda68d51d8 Actualizar cmds.txt
Some checks failed
Update Bot / deploy-via-sftp (push) Has been cancelled
Update Bot / restart-bot (push) Has been cancelled
prueba formato gif hoponvc
2025-10-22 15:32:48 +00:00
5 changed files with 73 additions and 70 deletions

View File

@@ -16,8 +16,8 @@ jobs:
pip install -r requirements.txt
sudo apt install sshpass
host: 172.17.0.1
user: root
pass: ${{ secrets.SSH_PRIVATE_KEY }}
user: binlab
pass: ${{ secrets.KEY }}
args: '-vvv'
@@ -28,14 +28,14 @@ jobs:
- id: SFTPDeploy
uses: https://github.com/wlixcc/SFTP-Deploy-Action@v1.2.4
with:
username: root
username: binlab
server: 172.17.0.1
port: 22
password: ${{ secrets.SSH_PRIVATE_KEY }}
# clones entire github repo
local_path: ./*
# destination of the code on the server
remote_path: /home/admin/${{ env.REPO_NAME }}/
remote_path: /home/binlab/${{ env.REPO_NAME }}/
password: ${{ secrets.KEY }}
ssh_private_key: ignored
# you may or may not need this. It all depends on how your code retrieves your discord token
@@ -51,13 +51,13 @@ jobs:
uses: https://github.com/fifsky/ssh-action@master
with:
command: |
cd ${{ env.REPO_NAME }}/lib/bot
cd /dev/shm
touch token.0
echo ${{ env.BOT_TOKEN }} > token.0
echo $?
host: 172.17.0.1
user: root
pass: ${{ secrets.SSH_PRIVATE_KEY }}
user: binlab
pass: ${{ secrets.KEY }}
create-systemctl-service:
needs: [add-bot-token, deploy-via-sftp]
@@ -73,20 +73,20 @@ jobs:
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /home/admin/${{ env.REPO_NAME }}/main.py
ExecStart=/usr/bin/python3 /home/binlab/${{ env.REPO_NAME }}/main.py
User=root
Restart=on-failure
RestartSec=30
WorkingDirectory=/home/admin/${{ env.REPO_NAME }}/
WorkingDirectory=/home/binlab/${{ env.REPO_NAME }}/
[Install]
WantedBy=multi-user.target" >> /etc/systemd/system/${{ env.REPO_NAME }}.service
chmod +x /root/${{ env.REPO_NAME }}/main.py
chmod +x /home/binlab/${{ env.REPO_NAME }}/main.py
sudo systemctl enable ${{ env.REPO_NAME }}.service
sudo systemctl daemon-reload
sudo systemctl start ${{ env.REPO_NAME }}.service
host: 172.17.0.1
user: root
pass: ${{ secrets.SSH_PRIVATE_KEY }}
user: binlab
pass: ${{ secrets.KEY }}
create-systemctl-restart:
needs: [create-systemctl-service, add-bot-token, deploy-via-sftp]
@@ -96,7 +96,7 @@ jobs:
uses: https://github.com/fifsky/ssh-action@master
with:
command: |
echo "[Unit]
sudo echo "[Unit]
Description=${{ env.REPO_NAME }} Discord Bot restart
After=multi-user.target
[Service]
@@ -108,5 +108,5 @@ jobs:
sudo systemctl daemon-reload
sudo systemctl start ${{ env.REPO_NAME }}-watcher.service
host: 172.17.0.1
user: root
pass: ${{ secrets.SSH_PRIVATE_KEY }}
user: binlab
pass: ${{ secrets.KEY }}

View File

@@ -13,12 +13,12 @@ jobs:
- name: SFTP Deploy
uses: https://github.com/wlixcc/SFTP-Deploy-Action@v1.2.4
with:
username: root
username: binlab
server: 172.17.0.1
port: 22
local_path: ./*
remote_path: /home/admin/${{ env.REPO_NAME }}/
password: ${{ secrets.SSH_PASS }}
remote_path: /home/binlab/${{ env.REPO_NAME }}/
password: ${{ secrets.KEY }}
restart-bot:
needs: [deploy-via-sftp]
@@ -29,5 +29,5 @@ jobs:
with:
command: sudo systemctl start ${{ env.REPO_NAME }}-watcher.service &
host: 172.17.0.1
user: root
pass: ${{ secrets.SSH_PASS }}
user: binlab
pass: ${{ secrets.KEY }}

View File

@@ -40,8 +40,10 @@ stonks https://tenor.com/view/stonks-up-stongs-meme-stocks-gif-15715298
dolor https://media.discordapp.net/attachments/667159642199162901/1025800727853011005/Desgarre.gif https://media.tenor.com/-vmlqClGjecAAAAC/painful-chris-traeger.gif https://media.tenor.com/Njt51xxHbYgAAAAC/sore-back-sore.gif https://media.tenor.com/j9BeW6kXNb0AAAAC/dolor-copa-america.gif https://media.tenor.com/c5vNwNeDOXcAAAAd/me-duele-la-rodilla-me-torci.gif https://media.tenor.com/JWxQKmrP4fcAAAAC/disney-up.gif https://media.tenor.com/n72RY0zUBpwAAAAd/dolor-de-espalda-enchufe-tv.gif https://media.tenor.com/iv4iDH1AgqcAAAAd/mal-de-dos1.gif
bailar https://media.tenor.com/3sRGst4MU7AAAAAC/minecraft-minecraft-online.gif https://media.tenor.com/LUFs-A8Gx0MAAAAd/dance-dancing.gif https://media.tenor.com/-0eBuulMAA8AAAAC/dance.gif https://media.tenor.com/ZgIRCUMksogAAAAC/sing-crayon-shin-chan.gif https://media.tenor.com/dFsURp-wUdgAAAAC/sans-dance.gif https://media.tenor.com/SwP1P8kBP8MAAAAM/vegetta777-vegetta.gif https://media.tenor.com/0Cb4CZlbg5IAAAAC/luzu-karmaland.gif https://media.tenor.com/G-aauG3LEDwAAAAd/inazuma-eleven-inazuma-eleven-jack.gif
bailar https://media.tenor.com/3sRGst4MU7AAAAAC/minecraft-minecraft-online.gif https://media.tenor.com/LUFs-A8Gx0MAAAAd/dance-dancing.gif https://media.tenor.com/-0eBuulMAA8AAAAC/dance.gif https://media.tenor.com/ZgIRCUMksogAAAAC/sing-crayon-shin-chan.gif https://media.tenor.com/dFsURp-wUdgAAAAC/sans-dance.gif https://media.tenor.com/SwP1P8kBP8MAAAAM/vegetta777-vegetta.gif https://media.tenor.com/0Cb4CZlbg5IAAAAC/luzu-karmaland.gif https://media.tenor.com/G-aauG3LEDwAAAAd/inazuma-eleven-inazuma-eleven-jack.gif https://cdn.discordapp.com/attachments/925439880954253324/1431320726878556392/image0.gif
wtf https://media.tenor.com/Jm0zWb4WsnAAAAAd/willyrex-bailando.gif https://media.tenor.com/BZXqwec-P2AAAAAC/what-wtf.gif https://media.tenor.com/EnRojaH2AH4AAAAC/confused-meme.gif https://tenor.com/view/bunny-what-huh-confused-gif-16384988 https://media.tenor.com/HnJpjRirG5UAAAAC/jackie-chan-meme.gif https://media.tenor.com/3uNzbnxnr90AAAAd/what-wtf.gif https://c.tenor.com/XmsP1zzo-G4AAAAd/huh-what-is-it.gif
musicpls https://open.spotify.com/playlist/1RTQm9p4auVQ2b9qHh8bHe?si=0d0dcc6b81e647c5 https://open.spotify.com/playlist/6t8xps2iUWwrTRFoGDx2YF?si=c598e2ebb1d84b31 https://open.spotify.com/playlist/5KoeRg68FugCy9UHCQtFUv?si=8094dd3cc9f64ae8 https://open.spotify.com/album/4jLw2cj03QQdeflXgnnMva?si=d-Ozuq-vT_emApm6n-rHkA https://open.spotify.com/playlist/51LVO7V3Y7xxn7jrPPbWuU?si=c4820d6308234518 https://open.spotify.com/album/3eKdGQuOgOOUBMNLrMu56z?si=qzdhUUfkR3S7kZUNZIo_MQ https://open.spotify.com/album/4yzargqiTUbJ9HxRjKqh6Y?si=7koRPC65TlSjrp65qeTaLg
hoponvc https://tenor.com/bLC5X.gif https://tenor.com/b0nvc.gif https://tenor.com/lsjlPS9qVCP.gif https://tenor.com/eXPNWSJHM1k.gif https://tenor.com/rzvrMXTIteu.gif https://tenor.com/rcHXRMRDLRe.gif https://tenor.com/bG5Lj.gif

View File

@@ -93,7 +93,7 @@ async def add(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], os
if attr.lower() not in msg.content.lower():
await msg.edit(content=f'{msg.content}\n- {attr}')
await ctx.respond(f"Característica añadida! ", ephemeral=True)
await send_log(f"Característica añadida: {attr} por {ctx.user}")
await send_log(f"Característica añadida: {attr} por {ctx.user} en {user}")
else:
await ctx.respond("Característica ya añadida!", ephemeral=True)
@@ -123,7 +123,7 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
await msg.edit(content=f'{msg.content.replace(f"{NL}- {attr}", "")}')
await ctx.respond("Característica eliminada :(", ephemeral=True)
await send_log(f"Característica eliminada: {attr} por {ctx.user}")
await send_log(f"Característica eliminada: {attr} por {ctx.user} en {user}")
return
else:

View File

@@ -1,2 +1,3 @@
Flask~=2.2.2
py-cord~=2.4.1