Merge branch 'preview'
This commit is contained in:
@@ -9,7 +9,7 @@ This project is based on:
|
||||
|
||||
|
||||
## Plugins
|
||||
- Some plugins can be found in [this repo](https://github.com/andreitdr/SethPlugins).
|
||||
- The source code for this plugins can be found in the [Plugins](./Plugins) folder.
|
||||
|
||||
Plugin Types:
|
||||
1. Commands
|
||||
@@ -52,7 +52,7 @@ public class LevelCommand : DBCommand
|
||||
|
||||
public async void ExecuteServer(DBCommandExecutingArguments context)
|
||||
{
|
||||
//Variables.database is a sql connection that is defined in an auxiliary file in the same napespace as this class
|
||||
//Variables.database is a sql connection that is defined in an auxiliary file in the same namespace as this class
|
||||
object[] user = await Variables.database.ReadDataArrayAsync($"SELECT * FROM Levels WHERE UserID='{context.Message.Author.Id}'");
|
||||
if (user is null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user