-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Niceygy
committed
Sep 1, 2024
1 parent
2402aee
commit 3ed0013
Showing
4 changed files
with
1,023 additions
and
2,935 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,50 @@ | ||
const mongoose = require("mongoose"); | ||
|
||
|
||
export const LvlSchema = new mongoose.Schema({ | ||
const LvlSchema = new mongoose.Schema({ | ||
userId: Number, | ||
xp: Number, | ||
level: Number, | ||
}); | ||
|
||
export const AWSchema = new mongoose.Schema({ | ||
const AWSchema = new mongoose.Schema({ | ||
guildId: Number, | ||
userId: Number, | ||
warns: Number, | ||
}); | ||
|
||
export const bannedWordsSchema = new mongoose.Schema({ | ||
const bannedWordsSchema = new mongoose.Schema({ | ||
word: String, | ||
}); | ||
|
||
export const loggingToggleSchema = new mongoose.Schema({ | ||
const loggingToggleSchema = new mongoose.Schema({ | ||
guildId: Number, | ||
toggle: Boolean, | ||
}); | ||
|
||
export const BWToggleSchema = new mongoose.Schema({ | ||
BWToggleSchema = new mongoose.Schema({ | ||
guildID: Number, | ||
toggle: Boolean, | ||
}); | ||
|
||
export const welcomeToggleSchema = new mongoose.Schema({ | ||
const welcomeToggleSchema = new mongoose.Schema({ | ||
guildId: Number, | ||
toggle: Boolean, | ||
webhookUrl: String, | ||
welcomeMsg: String, | ||
leaveMsg: String, | ||
}); | ||
|
||
export const addIgnoredChannelSchema = new mongoose.Schema({ | ||
const addIgnoredChannelSchema = new mongoose.Schema({ | ||
guildID: Number, | ||
channelID: Number, | ||
}); | ||
|
||
module.exports = { | ||
LvlSchema, | ||
AWSchema, | ||
bannedWordsSchema, | ||
loggingToggleSchema, | ||
BWToggleSchema, | ||
welcomeToggleSchema, | ||
}; |
Oops, something went wrong.