This commit is contained in:
2023-04-07 10:01:10 +03:00
parent 84b7d663bc
commit 382c376c03

View File

@@ -49,6 +49,7 @@ internal class LevelCommand : DBCommand
public async void ExecuteServer(CmdArgs context)
{
//Variables.database is a sql connection that is defined in an auxiliary file in the same napespace as this class
object[] user = await Variables.database.ReadDataArrayAsync($"SELECT * FROM Levels WHERE UserID='{context.Message.Author.Id}'");
if (user is null)
{