pan andrzej
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by pan andrzej on 6/19/2023 in #djs-questions
Editing a button issue
So im basically trying to make a slash command that edits one of 2 buttons in Embed Message. And after invoking command, it throws this error:
components[0].components[BASE_TYPE_BAD_LENGTH]: Must be between 1 and 1521 in length.
at message.edit()
How I can do that in a correct way? Is that even possible?
Here's my code:
6 replies
❔ Realm .NET Error
I need help with Realm .NET.
I'm making a plugin for unity game and I have server hosted on linux and I'm making a plugin on windows 10.
Here's sample of my code:
And this code (excatly App.Create) is throwing this error:
and actually error says about missing realm-wrappers.dll, and problem is that it's generating only files for windows (x64 and x86). What I can do in that situation?
2 replies
❔ MongoDB.Driver.MongoConnectionException:
Hi, I have problem with finding document in MongoDB collection. Whenever method collection.find is fired, it throws this error:
MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.MissingMethodException: void System.Security.Cryptography.Rfc2898DeriveBytes..ctor(string,byte[],int,System.Security.Cryptography.HashAlgorithmName)
here's code:
I'm using .NET framework 4.8.1, mongoDB 2.19.1 and Scram-SHA-1.
Anyone know why it's happening?
8 replies