pieinthesky-inc / pss-fleet-helper Goto Github PK
View Code? Open in Web Editor NEWA bot assisting in Discord management
License: MIT License
A bot assisting in Discord management
License: MIT License
Make server backups. Channels, roles, server settings (like a template does). Able to create content backups, too. By channel.
E.g. vv embed replace
taking a link to the message to be edited and an embed definition.
Looks like for large numbers of affected users, the command is very slow (probably due to rate-limits) and you can't tell when it's finished or how many users have been edited so far.
instead of throwing an error.
Removes anyone not on the Discord server anymore from the database.
Make the user choose if all of those shall be pruned or only those that also aren't in a fleet anymore
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)
Keep in mind that this is an m:n relation
Refer to Issue #15
The bot is trying to access the database, before it's created.
So when someone gets a role added/removed a message will be sent to a specified channel or dm.
Like these: https://hammertime.cyou/en-GB
Just a simple: do you want to (re-)activate the Reaction Role now?
Something along vivi members [[+|-][role1]]< [[+|-][role2]] ... [[+|-][roleN]]>
+role
: members having that role-role
: members not having that roleMake it possible to select a fleet.
Don't allow setting up the same channel for multiple fleets.
Make it possible to configure a custom welcome message:
Special achievements for getting a set amount of stars.
Make it possible to relate these to specific roles.
Make it possible to limit these to specific fleets.
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.
And disallow adding/removing a managed role as the bot can't do this.
For example, but not limited to:
A reaction role should be configurable to:
Like the dyno command ?role in [role] <+|->[role]
but better, accepting multiple ids, like:
vivi role in [role]( <role2> ... <roleN>); <+|->[role]( <+|->[role2] ... <+|->[roleN])
Or expand vivi role add
to also accept role ids/mentions (with pluses and minuses)
The command takes a message link and returns the message content and embed definition(s) in the format of the LeoLevel Embed Visualizer.
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 (_ _
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.