mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
17 lines
401 B
TypeScript
17 lines
401 B
TypeScript
import TClient from '../client.js';
|
|
import mongoose from 'mongoose';
|
|
|
|
const Schema = mongoose.model('bannedWords', new mongoose.Schema({
|
|
_id: {type: String, required:true}
|
|
}, {versionKey: false}));
|
|
|
|
export default class bannedWords extends Schema {
|
|
client: TClient;
|
|
_content: typeof Schema;
|
|
constructor(client:TClient){
|
|
super();
|
|
this.client = client;
|
|
this._content = Schema;
|
|
}
|
|
}
|