This commit is contained in:
Lukian 2023-07-06 19:56:53 +02:00
parent 7eb77d9e79
commit 4dcd4c9072
6 changed files with 26 additions and 29 deletions

View file

@ -12,7 +12,7 @@ async function addmsg(interaction, client) {
addToLogs(err);
});
if (quota >= 200000) {
if (quota.quota >= 200000) {
const embed = new discord.EmbedBuilder()
.setColor(0xFABBDE)
.setAuthor({ name: "Quota exceeded", iconURL: client.user.displayAvatarURL() })