nihlus / digos-ambassador Goto Github PK
View Code? Open in Web Editor NEWHomegrown Discord bot for the DIGOS community.
License: GNU Affero General Public License v3.0
Homegrown Discord bot for the DIGOS community.
License: GNU Affero General Public License v3.0
After setting a form to default, doing a body part tf, and then using !reset does not return the specific body part back to what it was.
Please attach the generated report to this issue!
Describe the bug
Trying to remove an image using !ch delete-image [char name] [image name]
gives back an error report
To Reproduce
Steps to reproduce the behavior:
!ch add-image [char name] [image name] [imgurl]
!ch delete-image [char name] [image name]
Expected behavior
Should remove the image attached to a character
When using the !ch set avatar to set an icon for a character, using !ch show does not work for that character anymore without error messages.
It gets fixed after using !ch set avatar again by adding an image directly
As part of character appearances, different transformations should be available. On top of that, as a fun little thing, there should be tables of themed transformations that you can pick a random one from (like "christmas" or "aquatic").
When making a new character the nickname is left blank by default. this could instead be set to match the name of the character to start with, saving time to set nicknames for some characters.
Describe the bug
After adding a note to a user using !note add
, trying to delete the note gives a bug report.
The note ends up being deleted, yet the note IDnumbers keep incrementing with new notes,
To Reproduce
Steps to reproduce the behavior:
!note add USER "NOTE"
!note delete NOTE_ID
Expected behavior
Expected behaviour is for the bot to not send out a bug report after deleting a note.
Notebug.zip
As the title says. When a user uses '!ch set ', if is null no error message is generated in the channel. I think the bot might not be handling the command, or it's being caught somewhere? I'm not familiar enough with the structure of the code to really discern one way or the other.
Users should be able to create and store multiple characters linked to themselves.
As it says on the tin, when typing !help ch set leads to character show
Using character set in it's fullest leads to the full character help page
Users should be able to store their kinks with like/dislike/love/etc ratings.
The bot should be able to create matchmaking lists of users depending on their timezones and kink preferences.
!ch set pronoun
currently creates confusion for users.
The !ch view
command uses "pronouns" instead, where as all other things that can be altered with the set command use the same name the set command uses: I.e. summary, description.
Certain users own a DIGOS unit. The bot should be able to recognize these people.
Using the jumbo command with the bot in direct messaging, leads to an error report
Has been tested with both stock emotes, as well as nitro emotes, both typed out and using the emoticon themselves.
Added are the different bug reports of each individual case
Instead of having to pull up every character separately, the use of a viewer for the different profiles can help remove clutter if one wants to view more than one profile of a single user.
!ch view-char
as suggested command, to keep in line with the !ch view-gallery
command
Maybe it's a bug, maybe it's a feature!
After setting up a character then deleting said character, the nickname and the role of the character stay in place.
Generated at: 30/01/2020 21:45:24
Bot version: 2.0.0.0
Command message link: https://discordapp.com/channels/183031180814319616/387000847025963019/672558001114316841
Ran by: Quixylvre#9204 (110033701051604992)
In: Transformations (183031180814319616)
Full command: !kink wizard
System.InvalidOperationException: The LINQ expression 'DbSet
.OrderBy(k => k.Category.ToString())' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to either AsEnumerable(), AsAsyncEnumerable(), ToList(), or ToListAsync(). See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
at Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor.g__CheckTranslated|8_0(ShapedQueryExpression translated, <>c__DisplayClass8_0& )
at Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression)
at Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression)
at Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression)
at Microsoft.EntityFrameworkCore.Query.QueryCompilationContext.CreateQueryExecutor[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<>c__DisplayClass9_01.<Execute>b__0() at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQueryCore[TFunc](Object cacheKey, Func
1 compiler)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable1.GetEnumerator() at System.Collections.Generic.List
1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)
at DIGOS.Ambassador.Plugins.Kinks.Wizards.KinkWizard.OnDisplayAsync(IMessageChannel channel) in /opt/digos/src/Plugins/DIGOS.Ambassador.Plugins.Kinks/Wizards/KinkWizard.cs:line 132
at DIGOS.Ambassador.Discord.Interactivity.Messages.InteractiveMessage.DisplayAsync(IMessageChannel channel) in /opt/digos/src/Discord/DIGOS.Ambassador.Discord.Interactivity/Messages/InteractiveMessage.cs:line 176
at DIGOS.Ambassador.Discord.Interactivity.Messages.InteractiveMessage.SendAsync(InteractivityService service, IMessageChannel channel) in /opt/digos/src/Discord/DIGOS.Ambassador.Discord.Interactivity/Messages/InteractiveMessage.cs:line 81
at DIGOS.Ambassador.Discord.Interactivity.InteractivityService.SendInteractiveMessageAsync(IMessageChannel channel, IInteractiveMessage message) in /opt/digos/src/Discord/DIGOS.Ambassador.Discord.Interactivity/InteractivityService.cs:line 137
at DIGOS.Ambassador.Discord.Interactivity.InteractivityServiceExtensions.SendPrivateInteractiveMessageAsync(InteractivityService this, ICommandContext context, UserFeedbackService feedback, InteractiveMessage message) in /opt/digos/src/Discord/DIGOS.Ambassador.Discord.Interactivity/InteractivityServiceExtensions.cs:line 68
at DIGOS.Ambassador.Plugins.Kinks.CommandModules.KinkCommands.RunKinkWizardAsync() in /opt/digos/src/Plugins/DIGOS.Ambassador.Plugins.Kinks/CommandModules/KinkCommands.cs:line 278
at Discord.Commands.ModuleClassBuilder.<>c__DisplayClass6_0.<g__ExecuteCallback|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Discord.Commands.CommandInfo.ExecuteInternalAsync(ICommandContext context, Object[] args, IServiceProvider services)
at Discord.Commands.CommandInfo.ExecuteInternalAsync(ICommandContext context, Object[] args, IServiceProvider services)
at Discord.Commands.CommandInfo.ExecuteInternalAsync(ICommandContext context, Object[] args, IServiceProvider services)
at Discord.Commands.CommandInfo.ExecuteAsync(ICommandContext context, IEnumerable1 argList, IEnumerable
1 paramList, IServiceProvider services)
Certain key units and dronies have dossiers with extended information. These should be browsable.
Irbynx has a combat minigame which the bot could run. This needs investigation and implementation.
The combined bodypart "arms" is not recognized as a body part.
Currently, there is no test case for tokens in transformation messages (syntax, etc). This could result in tokens with an incorrect format getting through to public-facing messages.
Add the option to set a default character. apparently should just need the command setting up
Provide time stamps when calling a replay on an rp. preferably on the rp as a while rather than individual posts.
As the title set, due to similarities between !ch set <value>
and !ch set-default
the hyphen can create confusion for first time users.
It would be fun to be able to save quotes from different users.
It'd be nice to be able to mark when an RP session starts, and then record the messages of the participants until its conclusion.
Please attach the generated report to this issue!
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
!ch view-char
Expected behavior
Should give a brief overview of the characters in the bot with their info card and an image attached
Bug report:
bug-report-08_03_2020-1318.zip
Please attach the generated report to this issue!
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Generated at: 07/09/2019 20:19:14
Bot version: 2.0.0.0
Command message link: https://discordapp.com/channels/556204320887013385/557507609444483123/619990075064844318
Ran by: Undead Night Fury#0238 (303913182211211265)
In: Night Fury Death Knights (556204320887013385)
Full command: !help
Discord.Net.HttpException: The server responded with error 50013: Missing Permissions
at Discord.Net.Queue.RequestBucket.SendAsync(RestRequest request)
at Discord.Net.Queue.RequestQueue.SendAsync(RestRequest request)
at Discord.API.DiscordRestApiClient.SendInternalAsync(String method, String endpoint, RestRequest request)
at Discord.API.DiscordRestApiClient.SendJsonAsync[TResponse](String method, String endpoint, Object payload, String bucketId, ClientBucketType clientBucket, RequestOptions options)
at Discord.API.DiscordRestApiClient.CreateMessageAsync(UInt64 channelId, CreateMessageParams args, RequestOptions options)
at Discord.Rest.ChannelHelper.SendMessageAsync(IMessageChannel channel, BaseDiscordClient client, String text, Boolean isTTS, Embed embed, RequestOptions options)
at Discord.WebSocket.SocketTextChannel.Discord.IMessageChannel.SendMessageAsync(String text, Boolean isTTS, Embed embed, RequestOptions options)
at DIGOS.Ambassador.Discord.Feedback.UserFeedbackService.SendEmbedAsync(IMessageChannel channel, Embed eb) in /opt/digos/src/Discord/DIGOS.Ambassador.Discord.Feedback/UserFeedbackService.cs:line 178
at DIGOS.Ambassador.Discord.Feedback.UserFeedbackService.SendEmbedAsync(ICommandContext context, Color color, String contents) in /opt/digos/src/Discord/DIGOS.Ambassador.Discord.Feedback/UserFeedbackService.cs:line 217
at DIGOS.Ambassador.Discord.Feedback.UserFeedbackService.SendConfirmationAsync(ICommandContext context, String contents) in /opt/digos/src/Discord/DIGOS.Ambassador.Discord.Feedback/UserFeedbackService.cs:line 134
at DIGOS.Ambassador.Discord.Interactivity.InteractivityServiceExtensions.SendPrivateInteractiveMessageAndDeleteAsync(InteractivityService this, ICommandContext context, UserFeedbackService feedback, InteractiveMessage message, Nullable1 timeout) in /opt/digos/src/Discord/DIGOS.Ambassador.Discord.Interactivity/InteractivityServiceExtensions.cs:line 114 at DIGOS.Ambassador.Discord.Interactivity.InteractivityServiceExtensions.SendPrivateInteractiveMessageAndDeleteAsync(InteractivityService this, ICommandContext context, UserFeedbackService feedback, InteractiveMessage message, Nullable
1 timeout) in /opt/digos/src/Discord/DIGOS.Ambassador.Discord.Interactivity/InteractivityServiceExtensions.cs:line 130
at DIGOS.Ambassador.Modules.HelpCommands.HelpAsync() in /opt/digos/src/digos-ambassador/Modules/HelpCommands.cs:line 86
at Discord.Commands.ModuleClassBuilder.<>c__DisplayClass6_0.<g__ExecuteCallback|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Discord.Commands.CommandInfo.ExecuteInternalAsync(ICommandContext context, Object[] args, IServiceProvider services)
at Discord.Commands.CommandInfo.ExecuteInternalAsync(ICommandContext context, Object[] args, IServiceProvider services)
at Discord.Commands.CommandInfo.ExecuteInternalAsync(ICommandContext context, Object[] args, IServiceProvider services)
at Discord.Commands.CommandInfo.ExecuteAsync(ICommandContext context, IEnumerable1 argList, IEnumerable
1 paramList, IServiceProvider services)
When having assumed one character with a role, then swapping to a character with a similar role just drops the role entirely. this does not apply when swapping between characters of different roles.
Role information remains stored in the character bio.
At present, it is impossible to remove a default character once set. Users should have the option of having no character at all.
Users need to be able to register themselves with the bot to store data.
The internet is spooky. Users should be able to restrict personal information like timezones to people on their friend list.
Swapping between different characters causes the roles assigned to them to not be assigned properly. They are still listed correctly in the character cards.
They can be added by using the !ch set role
command, but as soon as one swaps characters it breaks again.
Side note: the same role can be applied to a character multiple times without error message popping up stating the character already has the role. Not sure if it relates to this, but figured i'd mention it
The ambassador should be able to temporarily assimilate users for fun and profit.
If a user is currently in the form of a character, and the nickname of that character is updated, the user's actual nickname should also be updated to reflect this.
Using !jumbo
to enlarge an emoticon only works on custom emotes.
Any of discord's standard emoticons return a "can not be found" error message.
Custom emoticons for the server itself work fine through both text and image referencing.
Examples:
!jumbo :cookie:
!jumbo cookie
do not work
Short n simple: When using the !ch list-images
command for a character, the titles are shown, but the corresponding captions are not
The captions do appear in the gallery viewer when using !ch view-gallery
This is the case on galleries with a lot of images, as well as only a few.
Please attach the generated report to this issue!
Describe the bug
Exceeding a certain limit in descriptions causes the "!ch show" command
To Reproduce
Steps to reproduce the behavior:
!ch set description
Expected behavior
A small frame should pop up with the description summary and name of the character, this now doesnt work.
the replay function only seems to recall a very small amount of the posts made during a roleplay instead of everything.
Whenever viewing a gallery of a character with more than 2 images the buttons dont work as expected
When pressing the "next image" command, the buttons reset, which the bot interprets as another action, skipping the second image and moving on to the third.
Some generated rp channels allow third parties to type, while others do not.
The pronoun family is case-sensitive.
Using an emoticon resembling a flag, instead of making the flag bigger, it gives a big version of the "regional indicator" starting with the first letter of the country it belongs to.
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.