fuji97 / chaldea-user-bot Goto Github PK
View Code? Open in Web Editor NEWChaldeaBot
ChaldeaBot
The bot generate an exception when calling /master command under certain conditions, current verified conditions are:
This exception prevents the usage of the updated master
System.InvalidCastException: Column 'ServantListNotifications' is null.
at Npgsql.ThrowHelper.ThrowInvalidCastException_NoValue(FieldDescription field)
at Npgsql.NpgsqlDataReader.GetFieldValue[T](Int32 ordinal)
at lambda_method692(Closure , QueryContext , DbDataReader , ResultContext , SingleQueryResultCoordinator )
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
at Server.TelegramController.PrivateController.GetRegisteredChatWithSettings(Master master) in /src/Server/TelegramController/PrivateController.cs:line 677
at Server.TelegramController.PrivateController.SendSupportListUpdateNotifications(Master master, String text) in /src/Server/TelegramController/PrivateController.cs:line 624
at Server.TelegramController.PrivateController.UpdateRayshift(Master master) in /src/Server/TelegramController/PrivateController.cs:line 666
collevare in collegare
Il comando "list" usa una lista degli username non aggiornata
non so perché prima quando provavo a cambiare la servant list non mi dava errore come se non avessi messo il nome del master, poi cambiando la support e cambiando di nuovo la servant è andata. Possibile che quando uno faccia /servant_list senzqa mettere il nome per sbaglio si impalli qualcosa e quindi quel comando non va più finché non si passa ad un altro?
Also, sarebbe comodo avere il comando /master anche in chat col bot così da avere un'anteprima.
Also 2, linkare il github al comando help del bot
Aggiungere la possibilità di usare rayshift.io come provider per la support list
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.