mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
14 lines
289 B
JavaScript
14 lines
289 B
JavaScript
const { Client } = require('discord.js-commando');
|
|
const Database = require('./PostgreSQL');
|
|
|
|
class CommandoClient extends Client {
|
|
constructor(options) {
|
|
super(options);
|
|
|
|
this.database = Database.db;
|
|
Database.start();
|
|
}
|
|
}
|
|
|
|
module.exports = CommandoClient;
|