Code Monkey home page Code Monkey logo

digos-ambassador's People

Contributors

evylseven avatar nihlus avatar simplesample avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

digos-ambassador's Issues

!ch delete-image gives a bug report

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:

  1. add an image using !ch add-image [char name] [image name] [imgurl]
  2. Try to remove it using !ch delete-image [char name] [image name]

Expected behavior
Should remove the image attached to a character

bug-report-09_03_2020-1133.zip

Implement transformations

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").

Nickname not set by character's name by default

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.

[AUTOMATED] Deleting a note sends out a bug report

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:

  1. add note by using !note add USER "NOTE"
  2. Delete the note with !note delete NOTE_ID
  3. Note gets deleted and a bug report gets sent out
  4. Profit!

Expected behavior
Expected behaviour is for the bot to not send out a bug report after deleting a note.
Notebug.zip

Null Second Argument In a Character Set Command Generates No Response

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.

Aliasing pronoun and pronouns in !ch set pronoun

!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.

!jumbo does not work in DMs with the bot

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

Jumbo emote crash.zip

Suggestion: Gallery viewer for character profiles

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

Kink Wizard isn't working for me

Automatic bug report

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

Stack Trace

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, Func1 compiler)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable1.GetEnumerator() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 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, IEnumerable1 paramList, IServiceProvider services)

RP time stamps

Provide time stamps when calling a replay on an rp. preferably on the rp as a while rather than individual posts.

[AUTOMATED] Using !help throws an error

Describe the bug
Trying to use the !help command either in a DM or in the server throws an error

To Reproduce
Simply type the !help command in either a DM or the server

Expected behavior
The command executes as intended

Screenshots
Screenshot_20200524-230503_Discord

invite link in private message incorrect

when invited to an rp the message sent via private message has the command to join. however said message does not account for rps with spaces in the name, giving a command that wont work. see screenshot below for an example. it should have quotes around the rp name
image

Implement RP session replay

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.

Using !ch view-char gives an error

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:

  1. run !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

Bug

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:

  1. Go to '...'
  2. Run command '....'
  3. With parameters '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
Automatic bug report

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

Stack Trace

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, Nullable1 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, IEnumerable1 paramList, IServiceProvider services)

Implement privacy settings.

The internet is spooky. Users should be able to restrict personal information like timezones to people on their friend list.

Character roles do not get applied properly

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

!jumbo command does not recognize stock emoticons

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

!ch list-images doesnt show captions

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.

[AUTOMATED] Too long descriptions break !ch show

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:

  1. Add a long description to a character with !ch set description
  2. !ch show character

Expected behavior
A small frame should pop up with the description summary and name of the character, this now doesnt work.

bug-report Desc-view.zip

Gallery viewer has trouble with more than 2 images

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.

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.