Format and lint

This commit is contained in:
2024-01-18 15:37:17 +01:00
parent 847a8663d8
commit 13ada314f3
6 changed files with 42 additions and 39 deletions

View File

@@ -25,10 +25,7 @@ export default function loadAutocompleteEvents(client: Client, ft: FileType) {
const filePath = path.join(autocompletePath, file)
const autocomplete: Autocomplete = require(filePath)
if (
"name" in autocomplete &&
"execute" in autocomplete
) {
if ("name" in autocomplete && "execute" in autocomplete) {
client.autocomplete.set(autocomplete.name, autocomplete)
} else {
console.log(