summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands/bot/generateservers.ts6
-rw-r--r--src/config.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/bot/generateservers.ts b/src/commands/bot/generateservers.ts
index d272b4f..50c65e2 100644
--- a/src/commands/bot/generateservers.ts
+++ b/src/commands/bot/generateservers.ts
@@ -1,7 +1,7 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
module.exports = class GenerateServersBot extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'generateservers',
aliases: [
@@ -28,7 +28,7 @@ module.exports = class GenerateServersBot extends Command {
const list = this.client.guilds.cache
.map(g => {
const servers = g.name
- return `* ** ${servers}:** ${g.id}`
+ return `* ** ${servers}:** ${g.id} - ${g.owner?.user.tag}`
})
const text = `Total: ${this.client.guilds.cache.size}\n\n### Servers\n\n${list.join('\n')}`
return msg.reply({ files: [{ attachment: Buffer.from(text), name: 'servers.txt' }] })
diff --git a/src/config.json b/src/config.json
index 0e55add..5176936 100644
--- a/src/config.json
+++ b/src/config.json
@@ -2,7 +2,7 @@
"secret":"Njk5NDczMjYzOTk4MjcxNDg5.XpU5oQ.btZuxVudhNllSQY6CxrXXtMJm9A",
"secret-dev":"NzEyMDg4MzY5MjA2OTE5MjY5.XsMeEw.Yy0a8m2vZLDbPi7cZ8aqCalMR68",
"yt-api-key":"AIzaSyCeG1lQAeInv4vjFv_eTL9IFAFNdQC9Nk8",
- "version":"1.10.40",
+ "version":"1.10.41",
"fortniteTrackerNetworkToken": "4cf21f95-5f1a-412a-b4a7-e5424adc314a",
"mongodburi": "mongodb://sin:[email protected]:47107/heroku_4qrjvmb9",
"validUsers": [