Giter Site home page Giter Site logo

pss-fleet-helper's People

Contributors

solevis avatar zukunftsmusik avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

solevis

pss-fleet-helper's Issues

Add a server backup feature

Make server backups. Channels, roles, server settings (like a template does). Able to create content backups, too. By channel.

Catch psycopg2.OperationalError

2022-04-13T12:34:26.808525+00:00 app[worker.1]:   File "/app/.heroku/python/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1802, in _execute_context
2022-04-13T12:34:26.808526+00:00 app[worker.1]:     self.dialect.do_execute(
2022-04-13T12:34:26.808547+00:00 app[worker.1]:   File "/app/.heroku/python/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 732, in do_execute
2022-04-13T12:34:26.808547+00:00 app[worker.1]:     cursor.execute(statement, parameters)
2022-04-13T12:34:26.808549+00:00 app[worker.1]: sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) terminating connection due to administrator command
2022-04-13T12:34:26.808550+00:00 app[worker.1]: SSL connection has been closed unexpectedly
2022-04-13T12:34:26.808550+00:00 app[worker.1]: 
2022-04-13T12:34:26.808551+00:00 app[worker.1]: [SQL: SELECT pss_chat_log.pss_chat_log_id AS pss_chat_log_pss_chat_log_id, pss_chat_log.created_at AS pss_chat_log_created_at, pss_chat_log.modified_at AS pss_chat_log_modified_at, pss_chat_log.guild_id AS pss_chat_log_guild_id, pss_chat_log.channel_id AS pss_chat_log_channel_id, pss_chat_log.pss_channel_key AS pss_chat_log_pss_channel_key, pss_chat_log.last_pss_message_id AS pss_chat_log_last_pss_message_id, pss_chat_log.name AS pss_chat_log_name 
2022-04-13T12:34:26.808552+00:00 app[worker.1]: FROM pss_chat_log]
2022-04-13T12:34:26.808552+00:00 app[worker.1]: (Background on this error at: https://sqlalche.me/e/14/e3q8)

1st deploy fails

The bot is trying to access the database, before it's created.

Implement a Welcome Message feature

Make it possible to configure a custom welcome message:

  • that is an embed (to define the embed, a JSON definition shall be used)
  • that adds one or more reactions for the user to select
  • when the user adds a reaction, a custom message will be sent in the same channel

The bot takes any message as input when waiting for user input

Example: User is editing/creating a reaction role and the bot inquires for plain text (e.g.: the name of the RR). Then the bot receives any message, e.g. it posting a chatlog itself. The content of that message will be used, if it meets the check.

Allow more customization

For example, but not limited to:

  • Chat logger interval
  • Command prefix (unless Slash commands get implemented)

Add Reaction Roles

A reaction role should be configurable to:

  • have requirements (the user needs to have specific roles)
  • add or remove roles on reaction
  • have toggleable roles (reverses adding/removing roles upon reaction removal)

Reaction Role: Configuring the reaction role to send a message or embed doesn't let you skip entering a message

When creating a reaction role and wanting to send an embed message into any channel, trying to skip the normal message doesn't work.
This results in having to type a normal message that you don't actually want showing up, like in the screenshot
if you write "skip", it doesn't skip anything, the dialog to enter a normal message shows up again

Workaround: send an "empty" message, like a formatted blank space (_ _)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.