vars
This commit is contained in:
parent
9e7ef02d4a
commit
39b2b09f1b
3 changed files with 47 additions and 1 deletions
|
@ -5,6 +5,7 @@ const Users = new table('users');
|
|||
const Backend = new table('backend');
|
||||
const Trello = require('trello');
|
||||
const config = require('../config');
|
||||
const vars = require('../vars');
|
||||
const trello = new Trello(config.trello.key, config.trello.token);
|
||||
module.exports = {
|
||||
name: 'message',
|
||||
|
@ -46,6 +47,7 @@ module.exports = {
|
|||
db: { users: Users, servers: Servers, backend: Backend },
|
||||
utils: require('../utils'),
|
||||
config: require('../config'),
|
||||
vars: require('../vars'),
|
||||
isDeveloper: client.config.developers.find((dev) => msg.author.id == dev.id)
|
||||
};
|
||||
if (!cmd) return;
|
||||
|
|
|
@ -30,7 +30,7 @@ module.exports = class Info extends Command {
|
|||
|
||||
async command(ctx) {
|
||||
let SystemEmbed = new MessageEmbed()
|
||||
.setTitle(`${ctx.client.user.username} | v${ctx.config.version}`)
|
||||
.setTitle(`${ctx.client.user.username} | v${ctx.vars.version}`)
|
||||
.setColor(color)
|
||||
.setDescription(
|
||||
`Made by ${ctx.utils.format.bold(
|
||||
|
|
44
vars.js
Normal file
44
vars.js
Normal file
|
@ -0,0 +1,44 @@
|
|||
module.exports = {
|
||||
version: '3.0.5',
|
||||
color: '#ff995d',
|
||||
name: 'thaldr.in',
|
||||
hostname: '127.2.11.1',
|
||||
//hostname: 'localhost',
|
||||
port: '8080',
|
||||
/* authorization: "g66(TTV&^R^&T*IV56RF$FUTyxsyu534", */
|
||||
type: {
|
||||
beta: true,
|
||||
prod: false
|
||||
},
|
||||
prefixes: [ "'", `<@511212243015434270> `, '<@!511212243015434270> ' ],
|
||||
developers: [
|
||||
{
|
||||
id: '318044130796109825',
|
||||
nick: 'ry'
|
||||
}
|
||||
],
|
||||
contributors: [
|
||||
{
|
||||
id: '150745989836308480',
|
||||
nick: 'Cyn',
|
||||
reason: 'Shortlink Code :3'
|
||||
},
|
||||
{
|
||||
id: '356323373443448843',
|
||||
nick: 'Twiggy',
|
||||
reason: 'Letting me use his Sona as the Mascot <3'
|
||||
},
|
||||
{
|
||||
id: '289947794142396427',
|
||||
nick: 'Fynn',
|
||||
reason: 'Letting me use his name for `SourceFynnder` <3'
|
||||
},
|
||||
{
|
||||
id: '242843345402069002',
|
||||
nick: 'Donny',
|
||||
reason: 'Hosting this thing'
|
||||
}
|
||||
],
|
||||
source: 'https://gitdab.com/r/thaldrin',
|
||||
invite: 'https://discordapp.com/oauth2/authorize?client_id=434662676547764244&scope=bot&permissions=379968'
|
||||
};
|
Loading…
Reference in a new issue