mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-09-29 20:40:59 -04:00
18 lines
412 B
TypeScript
18 lines
412 B
TypeScript
import Discord from 'discord.js';
|
|
import TClient from 'src/client';
|
|
import mongoose from 'mongoose';
|
|
|
|
const Schema = mongoose.model('bannedWords', new mongoose.Schema({
|
|
_id: {type: String, required:true}
|
|
}));
|
|
|
|
export default class bannedWords extends Schema {
|
|
client: TClient;
|
|
_content: typeof Schema;
|
|
constructor(client:TClient){
|
|
super();
|
|
this.client = client;
|
|
this._content = Schema;
|
|
}
|
|
}
|