discord js (#1)

* clear out fluxer.net

* basic discord.js bot with ping, and echo

* added creation of webhook

* simplifying webhook logic

* sending messages as webhook

* deleting orignal message

* adding sequelize file

* commented out pgadmin part while it's not working

* adding member sort of working

* changing names of values

* updating names of values and adding new method in memberHelper

* renamed messagehelper function

* deleted proxyhelper

* passed only channel id into webhook helper methods

* added new functions and got update working

* changed message match to better reducer

* adjusted webhook helper to use actual data

* refactored bot.js and removed unused methods
This commit is contained in:
pieartsy
2026-02-13 18:20:29 -05:00
committed by GitHub
parent 3bac14f15e
commit fbee6d71f0
15 changed files with 431 additions and 642 deletions

View File

@@ -10,20 +10,20 @@ services:
- pgdata:/var/lib/postgresql
ports:
- "5432:5432"
pgadmin:
image: dpage/pgadmin4:latest
ports:
- 5050:80
environment:
# Required by pgAdmin
PGADMIN_DEFAULT_EMAIL: pieartsy@pm.me
PGADMIN_DEFAULT_PASSWORD_FILE: /run/secrets/postgres_pwd
# Don't require the user to login
PGADMIN_CONFIG_SERVER_MODE: 'False'
# Don't require a "master" password after logging in
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
secrets:
- postgres_pwd
# pgadmin:
# image: dpage/pgadmin4:latest
# ports:
# - 5050:80
# environment:
# # Required by pgAdmin
# PGADMIN_DEFAULT_EMAIL: pieartsy@pm.me
# PGADMIN_DEFAULT_PASSWORD_FILE: /run/secrets/postgres_pwd
# # Don't require the user to login
# PGADMIN_CONFIG_SERVER_MODE: 'False'
# # Don't require a "master" password after logging in
# PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
# secrets:
# - postgres_pwd
volumes:
pgdata: