voxel-fox-ltd / profile Goto Github PK
View Code? Open in Web Editor NEWA Discord bot for storing profiles, characters, and other user information in an easy and modular way.
License: GNU General Public License v2.0
A Discord bot for storing profiles, characters, and other user information in an easy and modular way.
License: GNU General Public License v2.0
Removed for my rewrite, but I didn't think they were super needed. I think they would be nice to readd.
When a prompt is set to a command eg {{default "thing"}}
, the bot doesn't validate this to make sure it's valid.
An argument is to be made for marking profiles as NSFW, and thus only checkable within NSFW channels. This will help servers with moderation where they're unable to set up proper channel permissions themselves.
This could be a two-pronged issue: NSFW flag for profiles, and an NSFW flag for templates (which would in turn mark all profiles as NSFW).
If a user subscribes via PayPal (or Stripe?) then they can have a higher limit for profiles/templates.
Moderators should be able to reorder the fields of their templates.
If a value for a certain field is given, output a specific ID.
When an image field is asked for, if an Imgur link (non-direct) is given, the Imgur API should be used to determine the images of the album and then stored.
I want to deploy the bot for the test on my local computer however, I could not see the entry point script line bot.py. Where is the entry script for deployment?
Users should be able to "bump" profiles. This means that their current posted profile is deleted from the archive, and then resent to the bottom.
Is it intended to have only the possibility to edit this below with ,edittempalte?
What do you want to edit?
:one: Verification channel
:two: Profile archive channel
:three: Verified profile role
I wanted to add some fields in the existing template, but i don't see how.
Moderators should be able to set up templates that are gated by a role.
Hi there! I'm currently using the bot to manage learner profiles on my developer Discord. I would love to be able to just automatically verify all profiles instead of having to do it manually.
Unfortunately I don't know enough python to contribute this feature myself :-/
I assume it's the title that's the issue, but something is too long to fit in the database. It's less than ideal because it keeps sending me DMs.
It's been requested that the decline reason, user, and moderator for a template profile get logged to a specified channel.
Fields where only a certain set of values are allowed.
This will require a new field in the field
table of the database to store the message/channel ID of the message in question.
Bot appears offline
Many album links just have one image in them. Use the API to autocorrect this
In guild_settings
:
max_template_count
max_template_field_count
max_template_profile_count
In template
:
max_field_count
These fields should not be editable by normal users.
The template's max_field_count
may be added as an additional field to the edittemplate
command for bot support users.
users are unable to set an existing field's input type to image, only text or number
Just had an issue where an image URL with GET params on it failed to submit, which was especially an issue as it was from Discord. This should autocorrect.
If a guild has set up their template with the advanced filter and then switched back to non-advanced, editing the prompt may fail if the character limit is hit for the modal.
Adding an image field currently does not work.
Hi,
why can't I set the maximum amount of profiles in a template higher than 5? Is there any possibility to do that?
Thanks
The bot hit a Command raised an exception: UnboundLocalError: local variable 'payload' referenced before assignment
error while running the ,createtemplate Character
command.
Traceback (most recent call last):
File "/home/kae/Profile/./cogs/template_commands.py", line 572, in get_field_to_edit
return template.fields[payload.component.custom_id]
KeyError: 'NEW'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kae/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "/home/kae/Profile/./cogs/template_commands.py", line 779, in createtemplate
await ctx.invoke(self.bot.get_command("edittemplate"), template)
File "/home/kae/.local/lib/python3.8/site-packages/discord/ext/commands/context.py", line 144, in invoke
ret = await command.callback(*arguments, **kwargs)
File "/home/kae/Profile/./cogs/template_commands.py", line 198, in edittemplate
fields_have_changed = await converter
File "/home/kae/Profile/./cogs/template_commands.py", line 388, in edit_field
field_to_edit: localutils.Field = await self.get_field_to_edit(
File "/home/kae/Profile/./cogs/template_commands.py", line 589, in get_field_to_edit
field: localutils.Field = await self.create_new_field(
File "/home/kae/Profile/./cogs/template_commands.py", line 913, in create_new_field
self.bot.loop.create_task(payload.message.edit(
UnboundLocalError: local variable 'payload' referenced before assignment
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/kae/.local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "/home/kae/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/home/kae/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: UnboundLocalError: local variable 'payload' referenced before assignment
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.